Skip to content

Commit 198c8a3

Browse files
committed
New Phlex Prod Config Update
Line NUmbers of IDs were updated on Phlex prod config file. This is just a small fix for it.
1 parent d88cb15 commit 198c8a3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

get5_auto_installer.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -575,43 +575,43 @@ case $option in
575575
sed -i "s|DATABASE_KEY = '???'|DATABASE_KEY = '$dbkey'|g" $file
576576
sed -i "s|ADMINS_ACCESS_ALL_MATCHES = False|ADMINS_ACCESS_ALL_MATCHES = $superadminaccess|g" $file
577577
sed -i "s|CREATE_MATCH_TITLE_TEXT = False|CREATE_MATCH_TITLE_TEXT = $matchttext|g" $file
578-
sed -i "67 s|SUPER_ADMIN_IDS = \[.*\]|SUPER_ADMIN_IDS = ['$superadminsteamid']|g" $file
579-
echo "['$superadminsteamid']" | sed -i "67 s:,:\',\':g" $file
578+
sed -i "71 s|SUPER_ADMIN_IDS = \[.*\]|SUPER_ADMIN_IDS = ['$superadminsteamid']|g" $file
579+
echo "['$superadminsteamid']" | sed -i "71 s:,:\',\':g" $file
580580

581581
if [ $normaladmin == "True" ]
582582
then
583-
sed -i "63 s|ADMIN_IDS = \[.*\]|ADMIN_IDS = ['$adminsteamid']|g" $file
584-
echo "['$adminsteamid']" | sed -i "63 s:,:\',\':g" $file
583+
sed -i "66 s|ADMIN_IDS = \[.*\]|ADMIN_IDS = ['$adminsteamid']|g" $file
584+
echo "['$adminsteamid']" | sed -i "66 s:,:\',\':g" $file
585585
fi
586586

587587
if [ $adminonlypanel == "True" ]
588588
then
589589
if [ $normaladmin == "True" ]
590590
then
591-
sed -i "59 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid,$adminsteamid']|g" $file
592-
echo "['$superadminsteamid','$adminsteamid']" | sed -i "59 s:,:\',\':g" $file
591+
sed -i "61 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid,$adminsteamid']|g" $file
592+
echo "['$superadminsteamid','$adminsteamid']" | sed -i "61 s:,:\',\':g" $file
593593
else
594-
sed -i "59 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid']|g" $file
595-
echo "['$superadminsteamid']" | sed -i "59 s:,:\',\':g" $file
594+
sed -i "61 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid']|g" $file
595+
echo "['$superadminsteamid']" | sed -i "61 s:,:\',\':g" $file
596596
fi
597597
else
598598
if [ $whitelistoption == "True" ]
599599
then
600600
if [ $normaladmin == "True" ]
601601
then
602-
sed -i "59 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid,$adminsteamid,$whitelistids']|g" $file
603-
echo "['$superadminsteamid','$adminsteamid','$whitelistids']" | sed -i "59 s:,:\',\':g" $file
602+
sed -i "61 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid,$adminsteamid,$whitelistids']|g" $file
603+
echo "['$superadminsteamid','$adminsteamid','$whitelistids']" | sed -i "61 s:,:\',\':g" $file
604604
else
605-
sed -i "59 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid,$whitelistids']|g" $file
606-
echo "['$superadminsteamid','$whitelistids']" | sed -i "59 s:,:\',\':g" $file
605+
sed -i "61 s|WHITELISTED_IDS = \[.*\]|WHITELISTED_IDS = ['$superadminsteamid,$whitelistids']|g" $file
606+
echo "['$superadminsteamid','$whitelistids']" | sed -i "61 s:,:\',\':g" $file
607607
fi
608608
fi
609609
fi
610610

611611
if [ $spectatoroption == "True" ]
612612
then
613-
sed -i "55 s|SPECTATOR_IDS = \[.*\]|SPECTATOR_IDS = ['$spectatorids']|g" $file
614-
echo "['$spectatorids']" | sed -i "55 s:,:\',\':g" $file
613+
sed -i "56 s|SPECTATOR_IDS = \[.*\]|SPECTATOR_IDS = ['$spectatorids']|g" $file
614+
echo "['$spectatorids']" | sed -i "56 s:,:\',\':g" $file
615615
fi
616616

617617
echo ""

0 commit comments

Comments
 (0)