Commit 98dddd9a authored by Michael  's avatar Michael
Browse files

fix syntax error

parent 4c66f31b
......@@ -34,7 +34,7 @@ for f in $(ls -1A); do
printf "found new version of %s\\n" "$f"
LIST="$LIST $f"
fi
else
elif [ -f "$TMPDIR/$f" ]; then
printf "found new script: %s\\n" "$f"
LIST="$LIST $f"
fi
......@@ -70,7 +70,7 @@ while [ "$(echo -n "$LIST" | wc -w)" -gt 0 ]; do
OPEN) featherpad "$TMPDIR/$LOCALDIR/$OPT";;
INSTALL) cp -v "$TMPDIR/$LOCALDIR/$OPT" "$HOME/.local/Scripts/$OPT";
LIST="$(echo "$LIST" | sed "s:$OPT::")"; OPT="";;
SKIP) LIST="$(echo "$LIST" | sed "s:$OPT::)"; OPT="";;
SKIP) LIST="$(echo "$LIST" | sed "s:$OPT::")"; OPT="";;
*) ACTION="-";OPT="";;
esac
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment