Update linupx-scripts.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
FOLDER='/opt/idssys/linupx'
|
FOLDER='/opt/idssys/linupx'
|
||||||
VERS='6.43-08242023'
|
VERS='6.44-08272023'
|
||||||
|
|
||||||
if [ -d /opt/idssys/settings ]; then
|
if [ -d /opt/idssys/settings ]; then
|
||||||
[ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings
|
[ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings
|
||||||
@@ -202,6 +202,12 @@ PIPUPGRADE() {
|
|||||||
if [ ${action-x} ]; then exit 0; fi
|
if [ ${action-x} ]; then exit 0; fi
|
||||||
read -n 1 -s -p "Press any key to continue"
|
read -n 1 -s -p "Press any key to continue"
|
||||||
}
|
}
|
||||||
|
PIPUPGRADEFIX(){
|
||||||
|
${APTFUNC} install libsystemd-dev libcairo2-dev libcurl4-openssl-dev libssl-dev build-essential libpython3-dev libdbus-1-dev libgirepository1.0-dev
|
||||||
|
echo
|
||||||
|
if [ ${action-x} ]; then exit 0; fi
|
||||||
|
read -n 1 -s -p "Press any key to continue"
|
||||||
|
}
|
||||||
DNSUPDATE() {
|
DNSUPDATE() {
|
||||||
bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/update-dns.sh)
|
bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/update-dns.sh)
|
||||||
echo
|
echo
|
||||||
@@ -868,6 +874,7 @@ SCRIPT_MENU() {
|
|||||||
fi
|
fi
|
||||||
echo -e "*[${idsCL[Yellow]}6${idsCL[Default]}] Run Python-Pip Upgrades"
|
echo -e "*[${idsCL[Yellow]}6${idsCL[Default]}] Run Python-Pip Upgrades"
|
||||||
echo -e " [${idsCL[Yellow]}7${idsCL[Default]}] Run Python-Pip Upgrades (w/ --ignore-installed)"
|
echo -e " [${idsCL[Yellow]}7${idsCL[Default]}] Run Python-Pip Upgrades (w/ --ignore-installed)"
|
||||||
|
echo -e " [${idsCL[Yellow]}8${idsCL[Default]}] Install pkgs to fix Pip upgrades"
|
||||||
echo
|
echo
|
||||||
if [ "$ATYPE" != 'yum' ]; then
|
if [ "$ATYPE" != 'yum' ]; then
|
||||||
echo -e " [${idsCL[Yellow]}9${idsCL[Default]}] Update/Fix Missing APT Repo Keys"
|
echo -e " [${idsCL[Yellow]}9${idsCL[Default]}] Update/Fix Missing APT Repo Keys"
|
||||||
@@ -903,6 +910,8 @@ SCRIPT_MENU() {
|
|||||||
SCRIPT_MENU;;
|
SCRIPT_MENU;;
|
||||||
7) PIPUPGRADE ii
|
7) PIPUPGRADE ii
|
||||||
SCRIPT_MENU;;
|
SCRIPT_MENU;;
|
||||||
|
8) PIPUPGRADEFIX
|
||||||
|
SCRIPT_MENU;;
|
||||||
9) UPDATEREPOKEYS
|
9) UPDATEREPOKEYS
|
||||||
SCRIPT_MENU;;
|
SCRIPT_MENU;;
|
||||||
0) ENDISASU
|
0) ENDISASU
|
||||||
|
|||||||
Reference in New Issue
Block a user