소스 검색

removed legacy functions dir

Daniel Gibbs 10 년 전
부모
커밋
f924b10dc3
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      functions/command_update_functions.sh

+ 5 - 1
functions/command_update_functions.sh

@@ -12,10 +12,14 @@ fn_printdots "Updating functions"
 fn_scriptlog "Updating functions"
 sleep 1
 echo -ne "\n"
+
+# Removed legecy functions dir
 if [ -d "${rootdir}/functions/" ]; then
 	rm -rfv "${rootdir}/functions/"
 	exitcode=$?
-elif [ -n "${functionsdir}" ]; then
+fi
+
+if [ -n "${functionsdir}" ]; then
 	rm -rfv "${functionsdir}/"*
 	exitcode=$?
 else