k0boldz ARE COBALT \
This commit is contained in:
+14
-3
@@ -461,14 +461,25 @@ phase_five () {
|
|||||||
run_reboot
|
run_reboot
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# updoot repo any time the repo is downloaded
|
||||||
|
updoot_repo () {
|
||||||
|
echo -e "\nUpdating\n"
|
||||||
|
|
||||||
|
git -C $git_dir pull
|
||||||
|
ret=$?
|
||||||
|
|
||||||
|
if [ $ret -ne 0 ]; then
|
||||||
|
echo -e "\n\nSCRIPT UPDATED! RE-RUN\n\n"
|
||||||
|
exit 1 # explicit fail
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
echo -e "\nPrecision Timekeeping Fuckery :3\n"
|
echo -e "\nPrecision Timekeeping Fuckery :3\n"
|
||||||
|
|
||||||
# do the suto thinggg
|
# do the suto thinggg
|
||||||
# if da file is there
|
# if da file is there
|
||||||
if [ -f $status_log ]; then
|
if [ -f $status_log ]; then
|
||||||
# updoot repo any time the repo is downloaded
|
updoot_repo
|
||||||
echo -e "\nUpdating\n"
|
|
||||||
git -C $git_dir pull
|
|
||||||
|
|
||||||
if [[ "$(cat $installer_status)" == 1 ]]; then
|
if [[ "$(cat $installer_status)" == 1 ]]; then
|
||||||
phase_two
|
phase_two
|
||||||
|
|||||||
Reference in New Issue
Block a user