add deepin install branch
This commit is contained in:
14
install.sh
14
install.sh
@@ -11,7 +11,19 @@ SINGULARITY_DIR="singularity"
|
|||||||
|
|
||||||
# 安装系统依赖
|
# 安装系统依赖
|
||||||
install_dependencies() {
|
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 系统依赖安装
|
# Debian/Ubuntu 系统依赖安装
|
||||||
sudo apt-get update
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user