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

puke: Support PUKE_ROOT

This commit is contained in:
Dylan Araps 2019-05-13 16:57:08 +03:00
parent 47f3a6bd07
commit fce1135e69

4
puke
View File

@ -144,7 +144,7 @@ pkg_remove() {
while read -r file; do
[ "${file%/*}" = "/etc" ] && continue
path=${sys_dir}${file}
path=$sys_dir$file
if [ -d "$path" ]; then
rmdir "$path" 2>/dev/null
@ -225,7 +225,7 @@ main() {
src_dir=$PWD/sources
mak_dir=$PWD/build
pkg_dir=$PWD/pkg
sys_dir=$PWD/sys
sys_dir=$PUKE_ROOT
bin_dir=$PWD/bin
rep_dir=$PWD/repo
dbs_dir=var/db/puke