add info scripts

This commit is contained in:
Mario Fetka 2024-04-20 15:52:30 +02:00
parent b1a0c26fda
commit b38cff456d
2 changed files with 17 additions and 3 deletions

View File

@ -218,12 +218,15 @@ source $MSTEMPDIR/mystic/dosemu2/config-${SCRIPT_VER}.sh
#============================================================================================================== #==============================================================================================================
chown mystic:mystic -R ${MYSTIC_DIR} &>/dev/null
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
#============================================================================================================== #==============================================================================================================
DBP_INFO=${MYSTIC_DIR}/docs/DbP-install.info
echo "==============================================================================================================" > ${DBP_INFO}
# Mystic install # Mystic install
source $MSTEMPDIR/mystic/mystic/info-${SCRIPT_VER}.sh source $MSTEMPDIR/mystic/mystic/info-${SCRIPT_VER}.sh
# Add Spellcheck # Add Spellcheck
@ -244,3 +247,6 @@ source $MSTEMPDIR/mystic/fail2ban/info-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/dosemu2/info-${SCRIPT_VER}.sh source $MSTEMPDIR/mystic/dosemu2/info-${SCRIPT_VER}.sh
#============================================================================================================== #==============================================================================================================
chown mystic:mystic -R ${MYSTIC_DIR} &>/dev/null
cat ${DBP_INFO}

View File

@ -1,2 +1,10 @@
ls /usr/lib/x86_64-linux-gnu/libpython2*.so.1 PYTHON2=$(ls /usr/lib/x86_64-linux-gnu/libpython2*.so.1)
ls /usr/lib/x86_64-linux-gnu/libpython3*.so.1 PYTHON3=$(ls /usr/lib/x86_64-linux-gnu/libpython3*.so.1)
echo "" >> ${DBP_INFO}
echo "Settings in Mystic General Settings" >> ${DBP_INFO}
echo "" >> ${DBP_INFO}
echo "Python2 Library: $PYTHON2" >> ${DBP_INFO}
echo "Python3 Library: $PYTHON3" >> ${DBP_INFO}
echo "==============================================================================================================" >> ${DBP_INFO}