Skip to content

Commit 48eb85d

Browse files
committed
Minor fix.
1 parent ae26b7e commit 48eb85d

File tree

12 files changed

+14
-13
lines changed

12 files changed

+14
-13
lines changed

backup.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,19 @@ if [ -f "/var/www/pterodactyl/PanelBackup/PanelBackup.zip" ]; then
5050
cd /var/www/pterodactyl/PanelBackup
5151
unzip PanelBackup.zip
5252
rm -R PanelBackup.zip
53-
cp -rf app config database public resources routes storage /var/www/pterodactyl
53+
cp -rf app config database public resources routes storage .env /var/www/pterodactyl
5454
cd ..
5555
rm -R PanelBackup
5656
cd
5757
php /var/www/pterodactyl/artisan theme:refresh-cache
5858
php /var/www/pterodactyl/artisan view:clear
5959
else
60-
echo
6160
print_brake 45
6261
echo -e "* ${red}There was no backup to restore, Aborting...${reset}"
6362
print_brake 45
63+
echo
6464
fi
65+
exit 1
6566
}
6667

6768

themes/version0.7.19/Argon/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ echo
108108
else
109109
cd /var/www/pterodactyl
110110
mkdir -p PanelBackup
111-
zip -r PanelBackup.zip app config public resources routes storage database
111+
zip -r PanelBackup.zip app config public resources routes storage database .env
112112
mv PanelBackup.zip PanelBackup
113113
fi
114114
}

themes/version0.7.19/BlackEndSpace/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version0.7.19/BlueBrick/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version0.7.19/LimeStitch/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version0.7.19/MinecraftMadness/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version0.7.19/NothingButGraphite/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version0.7.19/RedApe/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version0.7.19/TangoTwist/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

themes/version1.x/Dracula/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ echo
107107
else
108108
cd /var/www/pterodactyl
109109
mkdir -p PanelBackup
110-
zip -r PanelBackup.zip app config public resources routes storage database
110+
zip -r PanelBackup.zip app config public resources routes storage database .env
111111
mv PanelBackup.zip PanelBackup
112112
fi
113113
}

0 commit comments

Comments
 (0)