From ffadccaed3b022e2b8841cd2aa38c7733ae67eea Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 16 May 2024 15:39:36 +0200 Subject: [PATCH] Add dosbox for i386 --- dosemu2/info-v6.sh | 4 ++-- dosemu2/install-v6.sh | 4 ++-- install-next.sh | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dosemu2/info-v6.sh b/dosemu2/info-v6.sh index 19d5a9e..e8a0f47 100644 --- a/dosemu2/info-v6.sh +++ b/dosemu2/info-v6.sh @@ -1,4 +1,4 @@ -if [ $DOSEMU = "dosemu2" ]; then +if [ "$DOSEMU" = "dosemu2" ]; then echo "" >> ${DBP_INFO} echo "DosEmu2 Integration with Mystic" >> ${DBP_INFO} echo "" >> ${DBP_INFO} @@ -7,7 +7,7 @@ echo "" >> ${DBP_INFO} echo "==============================================================================================================" >> ${DBP_INFO} fi -if [ $DOSEMU = "dosemu" ]; then +if [ "$DOSEMU" = "dosemu" ]; then echo "" >> ${DBP_INFO} echo "DosEmu Integration with Mystic" >> ${DBP_INFO} echo "" >> ${DBP_INFO} diff --git a/dosemu2/install-v6.sh b/dosemu2/install-v6.sh index ad08a0c..f02c4cf 100644 --- a/dosemu2/install-v6.sh +++ b/dosemu2/install-v6.sh @@ -1,4 +1,4 @@ -if [ $DOSEMU = "dosemu2" ]; then +if [ "$DOSEMU" = "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 @@ -11,7 +11,7 @@ msg_ok "Installing DosEmu2 Dependencies for ${APP}" fi -if [ $DOSEMU = "dosemu" ]; then +if [ "$DOSEMU" = "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 diff --git a/install-next.sh b/install-next.sh index 144be77..d8aa1b4 100644 --- a/install-next.sh +++ b/install-next.sh @@ -172,7 +172,7 @@ source $MSTEMPDIR/mystic/dbp/prompt-${SCRIPT_VER}.sh # Add Fail2ban | banip source $MSTEMPDIR/mystic/fail2ban/prompt-${SCRIPT_VER}.sh # Add Dosemu2 -if [ ! -z "$DOSEMU" ]; then +if [ -n "$DOSEMU" ]; then source $MSTEMPDIR/mystic/dosemu2/prompt-${SCRIPT_VER}.sh fi @@ -195,7 +195,7 @@ source $MSTEMPDIR/mystic/dbp/install-${SCRIPT_VER}.sh # Add Fail2ban | banip source $MSTEMPDIR/mystic/fail2ban/install-${SCRIPT_VER}.sh # Add Dosemu2 -if [ ! -z "$DOSEMU" ]; then +if [ -n "$DOSEMU" ]; then source $MSTEMPDIR/mystic/dosemu2/install-${SCRIPT_VER}.sh fi @@ -218,7 +218,7 @@ source $MSTEMPDIR/mystic/dbp/config-${SCRIPT_VER}.sh # Add Fail2ban | banip source $MSTEMPDIR/mystic/fail2ban/config-${SCRIPT_VER}.sh # Add Dosemu2 -if [ ! -z "$DOSEMU" ]; then +if [ -n "$DOSEMU" ]; then source $MSTEMPDIR/mystic/dosemu2/config-${SCRIPT_VER}.sh fi @@ -250,7 +250,7 @@ source $MSTEMPDIR/mystic/dbp/info-${SCRIPT_VER}.sh # Add Fail2ban | banip source $MSTEMPDIR/mystic/fail2ban/info-${SCRIPT_VER}.sh # Add Dosemu2 -if [ ! -z "$DOSEMU" ]; then +if [ -n "$DOSEMU" ]; then source $MSTEMPDIR/mystic/dosemu2/info-${SCRIPT_VER}.sh fi