add logging
This commit is contained in:
parent
734b4d5a58
commit
34a6606065
@ -138,29 +138,29 @@ msg_ok "adding bullseye repository to bookworm for python2"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Setting up ${APP} Repository"
|
msg_info "Setting up ${APP} Repository"
|
||||||
cmd_exec apt install -y software-properties-common &>$INSTALLLOG
|
cmd_exec apt install -y software-properties-common &>>$INSTALLLOG
|
||||||
if [ "${DIST}" = "Debian" ]; then
|
if [ "${DIST}" = "Debian" ]; then
|
||||||
cmd_exec apt-add-repository -y contrib &>$INSTALLLOG
|
cmd_exec apt-add-repository -y contrib &>>$INSTALLLOG
|
||||||
cmd_exec apt-add-repository -y non-free &>$INSTALLLOG
|
cmd_exec apt-add-repository -y non-free &>>$INSTALLLOG
|
||||||
fi
|
fi
|
||||||
if [ "${DIST}" = "Ubuntu" ]; then
|
if [ "${DIST}" = "Ubuntu" ]; then
|
||||||
cmd_exec apt-add-repository -y universe &>$INSTALLLOG
|
cmd_exec apt-add-repository -y universe &>>$INSTALLLOG
|
||||||
cmd_exec apt-add-repository -y restricted &>$INSTALLLOG
|
cmd_exec apt-add-repository -y restricted &>>$INSTALLLOG
|
||||||
cmd_exec apt-add-repository -y multiverse &>$INSTALLLOG
|
cmd_exec apt-add-repository -y multiverse &>>$INSTALLLOG
|
||||||
fi
|
fi
|
||||||
cmd_exec apt update &>$INSTALLLOG
|
cmd_exec apt update &>>$INSTALLLOG
|
||||||
cmd_exec apt install -y curl wget gnupg unzip unrar &>$INSTALLLOG
|
cmd_exec apt install -y curl wget gnupg unzip unrar &>>$INSTALLLOG
|
||||||
cmd_exec mkdir -p $MSTEMPDIR &>$INSTALLLOG
|
cmd_exec mkdir -p $MSTEMPDIR &>>$INSTALLLOG
|
||||||
msg_ok "Setting up ${APP} Repository"
|
msg_ok "Setting up ${APP} Repository"
|
||||||
|
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
|
|
||||||
msg_info "Downloading ${APP} Mystic BBS Disconnected-by-Peer Installer Files"
|
msg_info "Downloading ${APP} Mystic BBS Disconnected-by-Peer Installer Files"
|
||||||
cmd_exec wget -N https://gitea.disconnected-by-peer.at/geos_one/mystic/archive/main.zip -O $MSTEMPDIR/dbp-main.zip &>$INSTALLLOG
|
cmd_exec wget -N https://gitea.disconnected-by-peer.at/geos_one/mystic/archive/main.zip -O $MSTEMPDIR/dbp-main.zip &>>$INSTALLLOG
|
||||||
cmd_exec rm -rf $MSTEMPDIR/mystic &>$INSTALLLOG
|
cmd_exec rm -rf $MSTEMPDIR/mystic &>>$INSTALLLOG
|
||||||
cmd_exec pushd $MSTEMPDIR &>$INSTALLLOG
|
cmd_exec pushd $MSTEMPDIR &>>$INSTALLLOG
|
||||||
cmd_exec unzip dbp-main.zip &>$INSTALLLOG
|
cmd_exec unzip dbp-main.zip &>>$INSTALLLOG
|
||||||
cmd_exec popd &>$INSTALLLOG
|
cmd_exec popd &>>$INSTALLLOG
|
||||||
msg_ok "Downloading ${APP} Mystic BBS Disconnected-by-Peer Installer Files"
|
msg_ok "Downloading ${APP} Mystic BBS Disconnected-by-Peer Installer Files"
|
||||||
|
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
@ -272,7 +272,7 @@ echo "when you switched to the ${MYSTIC_DIR}" >> ${DBP_INFO}
|
|||||||
echo "" >> ${DBP_INFO}
|
echo "" >> ${DBP_INFO}
|
||||||
echo "==============================================================================================================" >> ${DBP_INFO}
|
echo "==============================================================================================================" >> ${DBP_INFO}
|
||||||
|
|
||||||
cmd_exec chown mystic:mystic -R ${MYSTIC_DIR} &>$INSTALLLOG
|
cmd_exec chown mystic:mystic -R ${MYSTIC_DIR} &>>$INSTALLLOG
|
||||||
cat ${DBP_INFO}
|
cat ${DBP_INFO}
|
||||||
|
|
||||||
echo "These Infos are also been put into ${DBP_INFO}"
|
echo "These Infos are also been put into ${DBP_INFO}"
|
||||||
|
Loading…
Reference in New Issue
Block a user