Browse Source

removed legacy functions dir

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
f924b10dc3
  1. 6
      functions/command_update_functions.sh

6
functions/command_update_functions.sh

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

Loading…
Cancel
Save