File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -687,7 +687,8 @@ run_main_script() {
687
687
rm -f " ${SCRIPTS} /${1} .php"
688
688
elif curl_to_dir " ${GITHUB_REPO} " " ${1} .py" " $SCRIPTS "
689
689
then
690
- python3.6 " ${SCRIPTS} /${1} .py"
690
+ install_if_not python3
691
+ python3 " ${SCRIPTS} /${1} .py"
691
692
rm -f " ${SCRIPTS} /${1} .py"
692
693
else
693
694
print_text_in_color " $IRed " " Downloading ${1} failed"
@@ -711,7 +712,8 @@ run_static_script() {
711
712
rm -f " ${SCRIPTS} /${1} .php"
712
713
elif curl_to_dir " ${STATIC} " " ${1} .py" " $SCRIPTS "
713
714
then
714
- python3.6 " ${SCRIPTS} /${1} .py"
715
+ install_if_not python3
716
+ python3 " ${SCRIPTS} /${1} .py"
715
717
rm -f " ${SCRIPTS} /${1} .py"
716
718
else
717
719
print_text_in_color " $IRed " " Downloading ${1} failed"
@@ -734,7 +736,8 @@ run_app_script() {
734
736
rm -f " ${SCRIPTS} /${1} .php"
735
737
elif curl_to_dir " ${APP} " " ${1} .py" " $SCRIPTS "
736
738
then
737
- python3.6 " ${SCRIPTS} /${1} .py"
739
+ install_if_not python3
740
+ python3 " ${SCRIPTS} /${1} .py"
738
741
rm -f " ${SCRIPTS} /${1} .py"
739
742
else
740
743
print_text_in_color " $IRed " " Downloading ${1} failed"
Original file line number Diff line number Diff line change 558
558
start_if_stopped apache2
559
559
560
560
# Recover apps that exists in the backed up apps folder
561
- install_if_not python3.6
562
561
run_static_script recover_apps
563
562
564
563
# Enable Apps
You can’t perform that action at this time.
0 commit comments