peliprint/tools/update.sh
purple 7b0fddd8cc Remove -preview and upgrading to stable
It just didn't work. However, Blueprint will now show a warning to users who have upgrades instead of manually updated to save me from support tickets about why this doesn't work.
2023-06-12 15:49:55 +02:00

10 lines
241 B
Bash

#!/bin/bash
# $1 Pterodactyl directory (/var/www/pterodactyl)
cd $1/tools/tmp;
git clone https://github.com/teamblueprint/main.git;
cp -R main/* $1/;
rm -R $1/.blueprint;
rm -R *;
sed -E -i 's*SOURCE="n"*SOURCE="y"*g' $1/blueprint.sh;