2024-05-16 18:33:06 +02:00
if [ " ${ DOSEMU } " = "Yes" ] ; then
if [ " ${ DOSEMUVER } " = "dosemu2" ] ; then
msg_info " Installing DosEmu2 Dependencies for ${ APP } "
2024-07-06 15:44:23 +02:00
cmd_exec pushd $MSTEMPDIR & >>$INSTALLLOG
2024-07-06 15:56:19 +02:00
curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x6d9cd73b401a130336ed0a56ebe1b5ded2ad45d6' | tee /etc/apt/trusted.gpg.d/code.launchpad.net-dosemu2.asc & >>$INSTALLLOG
2024-07-06 15:53:08 +02:00
echo " deb https://ppa.launchpadcontent.net/dosemu2/ppa/ubuntu $UBUNTU main " | tee /etc/apt/sources.list.d/dosemu2.list & >>$INSTALLLOG
2024-07-06 15:44:23 +02:00
cmd_exec apt update & >>$INSTALLLOG
cmd_exec apt install -y dosemu2 & >>$INSTALLLOG
#cmd_exec apt install -y install-otherdos &>>$INSTALLLOG
2024-05-16 18:33:06 +02:00
msg_ok " Installing DosEmu2 Dependencies for ${ APP } "
fi
if [ " ${ DOSEMUVER } " = "dosemu" ] ; then
msg_info " Installing DosEmu Dependencies for ${ APP } "
2024-07-06 15:44:23 +02:00
cmd_exec pushd $MSTEMPDIR & >>$INSTALLLOG
2024-07-06 15:56:19 +02:00
curl 'https://deb.freexian.com/extended-lts/archive-key.gpg' | tee /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg & >>$INSTALLLOG
2024-07-06 15:53:08 +02:00
echo "deb http://deb.freexian.com/extended-lts stretch main contrib" | tee /etc/apt/sources.list.d/stretch.list & >>$INSTALLLOG
2024-07-06 15:44:23 +02:00
cmd_exec apt update & >>$INSTALLLOG
cmd_exec apt install -y dosemu & >>$INSTALLLOG
#cmd_exec apt install -y install-otherdos &>>$INSTALLLOG
2024-05-16 18:33:06 +02:00
msg_ok " Installing DosEmu Dependencies for ${ APP } "
fi
fi