forked from kiss-community/repo
puke: really fix bug
This commit is contained in:
parent
be7d01fa96
commit
39c28ffebc
6
puke
6
puke
@ -139,12 +139,12 @@ pkg_remove() {
|
||||
|
||||
while read -r file; do
|
||||
if [ "${file%/*}" = "/etc" ]; then
|
||||
false
|
||||
continue
|
||||
elif [ -d "$sys_dir$file" ]; then
|
||||
rmdir "$sys_dir$file" 2>/dev/null
|
||||
rmdir "$sys_dir$file" 2>/dev/null || continue
|
||||
else
|
||||
rm -- "$sys_dir$file" || log "Failed to remove $file."
|
||||
fi && log "Removed $file" ||:
|
||||
fi && log "Removed $file"
|
||||
done < "$sys_dir/$dbs_dir/$name/manifest"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user