mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-06-10 09:05:59 +08:00
fix-no-pkgname
This commit is contained in:
parent
3d1245b73c
commit
badfd0aea9
@ -5,7 +5,11 @@ if [ "$(id -u)" != "0" ]; then
|
||||
exit
|
||||
fi
|
||||
if [ "$PACKAGE_NAME" = "" ];then
|
||||
PKGNAME=cn.flamescion.bookworm-compatibility-mode
|
||||
curdir=`realpath $0`
|
||||
parent_dir=`dirname $curdir`
|
||||
pparent_dir=`dirname $parent_dir`
|
||||
ppparent_dir=`dirname $pparent_dir`
|
||||
PKGNAME=`basename $ppparent_dir`
|
||||
else
|
||||
PKGNAME=$PACKAGE_NAME
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user