add logging

This commit is contained in:
Mario Fetka 2024-07-06 15:56:19 +02:00
parent a7ebef3a3a
commit cab937085b

View File

@ -2,7 +2,7 @@ if [ "${DOSEMU}" = "Yes" ]; then
if [ "${DOSEMUVER}" = "dosemu2" ]; then if [ "${DOSEMUVER}" = "dosemu2" ]; then
msg_info "Installing DosEmu2 Dependencies for ${APP}" msg_info "Installing DosEmu2 Dependencies for ${APP}"
cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG
cmd_exec curl 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x6d9cd73b401a130336ed0a56ebe1b5ded2ad45d6' | tee /etc/apt/trusted.gpg.d/code.launchpad.net-dosemu2.asc &>>$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 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 update &>>$INSTALLLOG
cmd_exec apt install -y dosemu2 &>>$INSTALLLOG cmd_exec apt install -y dosemu2 &>>$INSTALLLOG
@ -15,7 +15,7 @@ fi
if [ "${DOSEMUVER}" = "dosemu" ]; then if [ "${DOSEMUVER}" = "dosemu" ]; then
msg_info "Installing DosEmu Dependencies for ${APP}" msg_info "Installing DosEmu Dependencies for ${APP}"
cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG
cmd_exec curl 'https://deb.freexian.com/extended-lts/archive-key.gpg' | tee /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg &>>$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 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 update &>>$INSTALLLOG
cmd_exec apt install -y dosemu &>>$INSTALLLOG cmd_exec apt install -y dosemu &>>$INSTALLLOG