2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

puke: fix bug

This commit is contained in:
Dylan Araps 2019-05-14 18:53:18 +03:00
parent 1830fa49f4
commit be7d01fa96
3 changed files with 2454 additions and 2453 deletions

View File

@ -4,4 +4,5 @@ os:
- linux
script:
- shellcheck -e 2034 puke repo/*/build repo/*/post-install
- shellcheck -e 2015 puke
- shellcheck -e 2034 repo/*/build repo/*/post-install

6
puke
View File

@ -139,12 +139,12 @@ pkg_remove() {
while read -r file; do
if [ "${file%/*}" = "/etc" ]; then
continue
false
elif [ -d "$sys_dir$file" ]; then
rmdir "$sys_dir$file" 2>/dev/null ||:
rmdir "$sys_dir$file" 2>/dev/null
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"
}

File diff suppressed because it is too large Load Diff