mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-13 10:32:05 +08:00
fix-no-pkgname
This commit is contained in:
@@ -5,7 +5,11 @@ if [ "$(id -u)" != "0" ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [ "$PACKAGE_NAME" = "" ];then
|
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
|
else
|
||||||
PKGNAME=$PACKAGE_NAME
|
PKGNAME=$PACKAGE_NAME
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user