mirror of
https://gitee.com/spark-store-project/additional-base-lib
synced 2025-09-23 12:02:22 +08:00
make transhell not dependence
This commit is contained in:
parent
14bf59fb5a
commit
499f04719c
@ -121,7 +121,8 @@ echo "Section: utils" >> ./deb-contents/DEBIAN/control
|
|||||||
echo "Priority: optional" >> ./deb-contents/DEBIAN/control
|
echo "Priority: optional" >> ./deb-contents/DEBIAN/control
|
||||||
echo "Architecture: $DEBIAN_DEB_ARCH" >> ./deb-contents/DEBIAN/control
|
echo "Architecture: $DEBIAN_DEB_ARCH" >> ./deb-contents/DEBIAN/control
|
||||||
echo "Maintainer: CongTianKong (gitee.com/CongTianKong)" >> ./deb-contents/DEBIAN/control
|
echo "Maintainer: CongTianKong (gitee.com/CongTianKong)" >> ./deb-contents/DEBIAN/control
|
||||||
echo "Depends: bubblewrap, bash, coreutils, shared-mime-info, xdg-utils, transhell" >> ./deb-contents/DEBIAN/control
|
echo "Depends: bubblewrap, bash, coreutils, shared-mime-info, xdg-utils" >> ./deb-contents/DEBIAN/control
|
||||||
|
echo "Recommends: transhell" >> ./deb-contents/DEBIAN/control
|
||||||
echo "Description: A script to run programs with newer libc." >> ./deb-contents/DEBIAN/control
|
echo "Description: A script to run programs with newer libc." >> ./deb-contents/DEBIAN/control
|
||||||
echo " package built with make-deb.sh from additional-base-lib project." >> ./deb-contents/DEBIAN/control
|
echo " package built with make-deb.sh from additional-base-lib project." >> ./deb-contents/DEBIAN/control
|
||||||
echo " libc6 download URL: $LIBC6_DOWNLOAD_URL" >> ./deb-contents/DEBIAN/control
|
echo " libc6 download URL: $LIBC6_DOWNLOAD_URL" >> ./deb-contents/DEBIAN/control
|
||||||
@ -144,6 +145,7 @@ check $?
|
|||||||
echo "copy transhell i18n scripts..."
|
echo "copy transhell i18n scripts..."
|
||||||
mkdir -p ./deb-contents/usr/share/ablrun/transhell
|
mkdir -p ./deb-contents/usr/share/ablrun/transhell
|
||||||
cp ./scripts/transhell/ablrun_* ./deb-contents/usr/share/ablrun/transhell/
|
cp ./scripts/transhell/ablrun_* ./deb-contents/usr/share/ablrun/transhell/
|
||||||
|
check $?
|
||||||
|
|
||||||
echo "generate ablrun-normal script..."
|
echo "generate ablrun-normal script..."
|
||||||
echo "#!/bin/bash" > ./deb-contents/usr/bin/ablrun-normal
|
echo "#!/bin/bash" > ./deb-contents/usr/bin/ablrun-normal
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -x "/opt/durapps/transhell/transhell.sh" ]
|
||||||
|
then
|
||||||
source /opt/durapps/transhell/transhell.sh
|
source /opt/durapps/transhell/transhell.sh
|
||||||
load_transhell
|
load_transhell
|
||||||
|
else
|
||||||
|
source /usr/share/ablrun/transhell/ablrun_en_US.transhell
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$*" = "" ]
|
if [ "$*" = "" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user