28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
if [ "${DOSEMU}" = "Yes" ]; then
|
|
if [ "${DOSEMUVER}" = "dosemu2" ]; then
|
|
msg_info "Installing DosEmu2 Dependencies for ${APP}"
|
|
cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG
|
|
curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x6d9cd73b401a130336ed0a56ebe1b5ded2ad45d6' | tee /etc/apt/trusted.gpg.d/code.launchpad.net-dosemu2.asc &>>$INSTALLLOG
|
|
echo "deb https://ppa.launchpadcontent.net/dosemu2/ppa/ubuntu $UBUNTU main" | tee /etc/apt/sources.list.d/dosemu2.list &>>$INSTALLLOG
|
|
cmd_exec apt update &>>$INSTALLLOG
|
|
cmd_exec apt install -y dosemu2 &>>$INSTALLLOG
|
|
#cmd_exec apt install -y install-otherdos &>>$INSTALLLOG
|
|
|
|
msg_ok "Installing DosEmu2 Dependencies for ${APP}"
|
|
|
|
fi
|
|
|
|
if [ "${DOSEMUVER}" = "dosemu" ]; then
|
|
msg_info "Installing DosEmu Dependencies for ${APP}"
|
|
cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG
|
|
curl 'https://deb.freexian.com/extended-lts/archive-key.gpg' | tee /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg &>>$INSTALLLOG
|
|
echo "deb http://deb.freexian.com/extended-lts stretch main contrib" | tee /etc/apt/sources.list.d/stretch.list &>>$INSTALLLOG
|
|
cmd_exec apt update &>>$INSTALLLOG
|
|
cmd_exec apt install -y dosemu &>>$INSTALLLOG
|
|
#cmd_exec apt install -y install-otherdos &>>$INSTALLLOG
|
|
|
|
msg_ok "Installing DosEmu Dependencies for ${APP}"
|
|
|
|
fi
|
|
|
|
fi |