Update run.sh
This commit is contained in:
24
run.sh
24
run.sh
@@ -1,13 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# MediaManager Loader
|
# MediaManager Loader
|
||||||
|
|
||||||
source /opt/idssys/defaults/colors.inc
|
if [ ! -f /opt/mm.checking ]; then
|
||||||
source /opt/idssys/defaults/default.inc
|
touch /opt/mm.checking
|
||||||
source /opt/idssys/settings/mediamanager.conf
|
|
||||||
|
|
||||||
noheader=' check '
|
source /opt/idssys/defaults/colors.inc
|
||||||
|
source /opt/idssys/defaults/default.inc
|
||||||
|
source /opt/idssys/settings/mediamanager.conf
|
||||||
|
|
||||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
noheader=' check '
|
||||||
|
|
||||||
|
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
||||||
# if [ "${1}" = "gui" ]; then
|
# if [ "${1}" = "gui" ]; then
|
||||||
# DISP_HEADER
|
# DISP_HEADER
|
||||||
# fi
|
# fi
|
||||||
@@ -53,6 +56,15 @@ if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]]; then
|
|||||||
echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[LightCyan]}No Updates Available${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
/opt/idssys/mediamanager/mm-scripts.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14}
|
||||||
|
#rm -f /opt/mm.checking
|
||||||
fi
|
fi
|
||||||
/opt/idssys/mediamanager/mm-scripts.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14}
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user