add deepin install branch

This commit is contained in:
2023-12-13 16:54:25 +08:00
parent 5814a4ddf6
commit 70b9d7dd03

View File

@@ -11,7 +11,19 @@ SINGULARITY_DIR="singularity"
# 安装系统依赖
install_dependencies() {
if [[ -f /etc/debian_version ]]; then
if grep -q 'PRETTY_NAME="Deepin 23"' /etc/os-release; then
# Deepin 23 系统依赖安装
# 在这里添加Deepin 23的依赖安装命令
echo "安装Deepin 23依赖"
sudo apt-get update
sudo apt-get install -y autoconf automake cryptsetup git libfuse-dev libglib2.0-dev libseccomp-dev libtool pkg-config runc squashfs-tools uidmap wget zlib1g-dev
wget http://ftp.hk.debian.org/debian/pool/main/s/squashfs-tools-ng/squashfs-tools-ng_1.2.0-1_amd64.deb
wget http://ftp.hk.debian.org/debian/pool/main/s/squashfs-tools-ng/libsquashfs1_1.2.0-1_amd64.deb
sudo dpkg -i ./libsquashfs1_1.2.0-1_amd64.deb
sudo dpkg -i ./squashfs-tools-ng_1.2.0-1_amd64.deb
rm ./libsquashfs1_1.2.0-1_amd64.deb
rm ./squashfs-tools-ng_1.2.0-1_amd64.deb
elif [[ -f /etc/debian_version ]]; then
# Debian/Ubuntu 系统依赖安装
sudo apt-get update
sudo apt-get install -y autoconf automake cryptsetup git libfuse-dev libglib2.0-dev libseccomp-dev libtool pkg-config runc squashfs-tools squashfs-tools-ng uidmap wget zlib1g-dev