correct DIST Variable
This commit is contained in:
parent
95359d39b8
commit
44192ec2a7
@ -102,15 +102,15 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CODENAME}" = "bookworm" ]; then
|
if [ "${CODENAME}" = "bookworm" ]; then
|
||||||
DIST="kinetic"
|
UBUNTU="kinetic"
|
||||||
elif [ "${CODENAME}" = "bullseye" ]; then
|
elif [ "${CODENAME}" = "bullseye" ]; then
|
||||||
DIST="focal"
|
UBUNTU="focal"
|
||||||
elif [ "${CODENAME}" = "buster" ]; then
|
elif [ "${CODENAME}" = "buster" ]; then
|
||||||
DIST="bionic"
|
UBUNTU="bionic"
|
||||||
elif [ "${CODENAME}" = "stretch" ]; then
|
elif [ "${CODENAME}" = "stretch" ]; then
|
||||||
DIST="xenial"
|
UBUNTU="xenial"
|
||||||
else
|
else
|
||||||
DIST="${CODENAME}"
|
UBUNTU="${CODENAME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CODENAME}" = "bookworm" ]; then
|
if [ "${CODENAME}" = "bookworm" ]; then
|
||||||
@ -465,7 +465,7 @@ if [ $DOSEMU = "Yes" ]; then
|
|||||||
msg_info "Installing DosEmu2 Dependencies for ${APP}"
|
msg_info "Installing DosEmu2 Dependencies for ${APP}"
|
||||||
pushd $MSTEMPDIR &>/dev/null
|
pushd $MSTEMPDIR &>/dev/null
|
||||||
curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x6d9cd73b401a130336ed0a56ebe1b5ded2ad45d6' | tee /etc/apt/trusted.gpg.d/code.launchpad.net-dosemu2.asc &>/dev/null
|
curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x6d9cd73b401a130336ed0a56ebe1b5ded2ad45d6' | tee /etc/apt/trusted.gpg.d/code.launchpad.net-dosemu2.asc &>/dev/null
|
||||||
echo "deb https://ppa.launchpadcontent.net/dosemu2/ppa/ubuntu $DIST main" | tee /etc/apt/sources.list.d/dosemu2.list &>/dev/null
|
echo "deb https://ppa.launchpadcontent.net/dosemu2/ppa/ubuntu $UBUNTU main" | tee /etc/apt/sources.list.d/dosemu2.list &>/dev/null
|
||||||
apt update &>/dev/null
|
apt update &>/dev/null
|
||||||
apt install -y dosemu2 &>/dev/null
|
apt install -y dosemu2 &>/dev/null
|
||||||
apt install -y install-otherdos &>/dev/null
|
apt install -y install-otherdos &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user