Release new script

This commit is contained in:
Mario Fetka
2024-05-16 18:33:06 +02:00
parent 0452a021c2
commit 17199a5a30
54 changed files with 112 additions and 65 deletions

View File

@@ -1,8 +0,0 @@
if [ $DOSEMU = "Yes" ]; then
echo "" >> ${DBP_INFO}
echo "DosEmu2 Integration with Mystic" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "For the correct DosEmu2 integration follow the Mystic Doors doc ${MYSTIC_DIR}/docs/unix.install.txt" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "==============================================================================================================" >> ${DBP_INFO}
fi

21
dosemu2/info-v7.sh Normal file
View File

@@ -0,0 +1,21 @@
if [ "${DOSEMU}" = "Yes" ]; then
if [ "${DOSEMUVER}" = "dosemu2" ]; then
echo "" >> ${DBP_INFO}
echo "DosEmu2 Integration with Mystic" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "For the correct DosEmu2 integration follow the Mystic Doors doc ${MYSTIC_DIR}/docs/unix.install.txt" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "==============================================================================================================" >> ${DBP_INFO}
fi
if [ "${DOSEMUVER}" = "dosemu" ]; then
echo "" >> ${DBP_INFO}
echo "DosEmu Integration with Mystic" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "For the correct DosEmu integration follow the Mystic Doors doc ${MYSTIC_DIR}/docs/unix.install.txt" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "==============================================================================================================" >> ${DBP_INFO}
fi
fi

View File

@@ -1,12 +0,0 @@
if [ $DOSEMU = "Yes" ]; then
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

28
dosemu2/install-v7.sh Normal file
View File

@@ -0,0 +1,28 @@
if [ "${DOSEMU}" = "Yes" ]; then
if [ "${DOSEMUVER}" = "dosemu2" ]; then
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
if [ "${DOSEMUVER}" = "dosemu" ]; then
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
echo "deb http://deb.freexian.com/extended-lts stretch main contrib" | tee /etc/apt/sources.list.d/stretch.list &>/dev/null
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
fi

View File

@@ -1,8 +0,0 @@
DOSEMU=$(whiptail --title "Add DosEmu2 to Mystic" --radiolist --cancel-button Exit-Script "Choose Yes No" 8 58 2 \
"Yes" "Add DosEmu2 Script" ON \
"No" "Don't add DosEmu2 Script" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add DbP Script: ${BGN}$DOSEMU${CL}"
fi

8
dosemu2/prompt-v7.sh Normal file
View File

@@ -0,0 +1,8 @@
DOSEMU=$(whiptail --title "Add DosEmu2/DosEmu to Mystic" --radiolist --cancel-button Exit-Script "Choose Yes No" 8 58 2 \
"Yes" "Add DosEmu2/DosEmu Support" ON \
"No" "Don't add DosEmu2/DosEmu Support" OFF \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add DosEmu2/DosEmu Support: ${BGN}$DOSEMU${CL}"
fi

8
dosemu2/update.sh Normal file → Executable file
View File

@@ -1,3 +1,5 @@
for file in $(ls *-v5.sh) ; do
cp -- "${file}" "$(echo "${file}" | sed -e 's/v5\.sh/v6\.sh/')"
done
for file in $(ls *-v6.sh) ; do
cp -- "${file}" "$(echo "${file}" | sed -e 's/v6\.sh/v7\.sh/')"
done
git rm *-v5.sh