This commit is contained in:
emmett1
2017-09-22 15:35:15 +08:00
parent a4bdf0d420
commit c97e649f9c

View File

@@ -86,7 +86,7 @@ installpkg() {
msg2 "Removing old files..."
grep -v '/$' $INDEX_DIR/$name/.files | while read line; do
if [ ! "$(grep -x "$line" $TMP_TARLIST)" ]; then
if [ ! "$(grep -Fx "$line" $TMP_TARLIST)" ]; then
pushd $ROOT_DIR
if [ "$VERBOSE_INSTALL" = "yes" ]; then
rm_silent "$line" && echo "$line" && OLDFILEREMOVE=yes || msgwarn "Failed remove $line"