update
This commit is contained in:
parent
5718e7cdda
commit
73f6113340
5
maple
5
maple
|
@ -58,7 +58,7 @@ echo -e '\x1b[38;2;6;45;86m'" ...... ......... ..............
|
|||
#####################################################################################################################
|
||||
|
||||
i=`cat maple|grep -n MARKER|cut -f1 -d":"`;i=$(echo $i|xargs|cut -f2 -d" ");ii=`wc -l maple|cut -f1 -d" "`;
|
||||
iii=$((ii-i));tail -n $iii $0>mpl;MD5=$(md5sum mpl|cut -f1 -d ' ');rm mpl;DM5="c31da915ccd64354323dea8b7488b2ac"
|
||||
iii=$((ii-i));tail -n $iii $0>mpl;MD5=$(md5sum mpl|cut -f1 -d ' ');rm mpl;DM5="dc9efe05627b4cb8f0516cc9449a8a39"
|
||||
[ "$MD5" = "$DM5" ] || exit;
|
||||
|
||||
# MARKER ############################################################################################################
|
||||
|
@ -1607,6 +1607,7 @@ cmd_setup_bot () {
|
|||
BOTMODE=1
|
||||
cmd_setup_botmode
|
||||
cat plugins/net_irc_plugin.py|sed '/includes/r storage/bot/variants/dupe/bot_maple__services__initial_plugins.txt' > plugins/net_irc_plugin.tmp;mv plugins/net_irc_plugin.tmp plugins/net_irc_plugin.py
|
||||
cat storage/user/credentials/activate__hydra_dupe__services >> env/bin/activate
|
||||
if [ -z $TOKEN ]; then
|
||||
kprompt "MODE" "${sc4}""\nneed an online token credential pak?${sc5} " "credential pak" 1 0 0; RESULT=$?
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
|
@ -1626,6 +1627,7 @@ cmd_setup_bot () {
|
|||
mkdir plugins
|
||||
cat storage/bot/variants/core/bot_maple__core__initial_plugins.txt|grep -v "#"|grep -v irc3|sed s/plugins.//|xargs -I{} cp storage/bot/plugins/{}.py plugins/
|
||||
cat bot_maple.ini|sed '/includes/r storage/bot/variants/core/bot_maple__core__initial_plugins.txt' > bot_maple.tmp;mv bot_maple.tmp bot_maple.ini
|
||||
cat storage/user/credentials/activate__hydra_core__standalone >> env/bin/activate
|
||||
if [ $HYDRA____SERVICING -eq 0 ]; then
|
||||
cat plugins/net_hydra_plugin.py|sed s/"???HYDRA???"/"SERVICES_HYDRA=False"/g > plugins/net_hydra_plugin.tmp;mv plugins/net_hydra_plugin.tmp plugins/net_hydra_plugin.py
|
||||
else
|
||||
|
@ -1644,6 +1646,7 @@ cmd_setup_bot () {
|
|||
(kmode 3);
|
||||
[ -e storage/user/config/hydra.key ] || cmd_hydra;
|
||||
cmd_services 1 3
|
||||
cat storage/user/credentials/activate__hydra_dupe__devops >> env/bin/activate
|
||||
kprompt "MODE" "${sc4}devops purpose${sc5}" "\n${sc1}[${sc2} devops purpose ${sc1}]${sc3} - ${sc5}example${sc4}:${sc3} doing development" 1 3 0; RESULT=$?
|
||||
PURPOSE="devops - $REPLY"
|
||||
echo -e "export HYDRA_PURPOSE='$PURPOSE'" >> env/bin/activate
|
||||
|
|
Loading…
Reference in New Issue