forked from kiss-community/repo
puke: cleanup
This commit is contained in:
parent
648f2bd255
commit
458fa9edff
4
puke
4
puke
@ -151,8 +151,6 @@ pkg_install() {
|
||||
pkg_remove() {
|
||||
pkg_list "$name" || return 1
|
||||
|
||||
cp "$sys_dir/$dbs_dir/$name/manifest" .manifest
|
||||
|
||||
while read -r file; do
|
||||
[ "${file%/*}" = "/etc" ] && continue
|
||||
|
||||
@ -165,7 +163,7 @@ pkg_remove() {
|
||||
fi
|
||||
|
||||
[ "$?" = 0 ] && log "Removed $file"
|
||||
done < .manifest
|
||||
done < "$sys_dir/$dbs_dir/$name/manifest"
|
||||
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user