mystic/dosemu2/install-v6.sh

28 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2024-05-16 17:02:36 +02:00
if [ "${DOSEMU}" = "Yes" ]; then
if [ "${DOSEMUVER}" = "dosemu2" ]; then
2024-05-11 11:39:51 +02:00
msg_info "Installing DosEmu2 Dependencies for ${APP}"
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
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 install -y dosemu2 &>/dev/null
#apt install -y install-otherdos &>/dev/null
msg_ok "Installing DosEmu2 Dependencies for ${APP}"
fi
2024-05-16 15:04:43 +02:00
2024-05-16 17:02:36 +02:00
if [ "${DOSEMUVER}" = "dosemu" ]; then
2024-05-16 15:04:43 +02:00
msg_info "Installing DosEmu Dependencies for ${APP}"
pushd $MSTEMPDIR &>/dev/null
curl 'https://deb.freexian.com/extended-lts/archive-key.gpg' | tee /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg &>/dev/null
2024-05-16 17:02:36 +02:00
echo "deb http://deb.freexian.com/extended-lts stretch main contrib" | tee /etc/apt/sources.list.d/stretch.list &>/dev/null
2024-05-16 15:04:43 +02:00
apt update &>/dev/null
apt install -y dosemu &>/dev/null
#apt install -y install-otherdos &>/dev/null
msg_ok "Installing DosEmu Dependencies for ${APP}"
fi
2024-05-16 17:02:36 +02:00
fi