✨ Added fake-os upgrade function to manager
This commit is contained in:
parent
4b1e1d3138
commit
b7bfbe0a04
1 changed files with 9 additions and 0 deletions
|
@ -191,6 +191,15 @@ _fake_flush () { #--------[ Flush System Cache ]
|
||||||
sudo -u root $ENV_SHELL -c "sync; echo 3 > /proc/sys/vm/drop_caches"
|
sudo -u root $ENV_SHELL -c "sync; echo 3 > /proc/sys/vm/drop_caches"
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
_fake_upgrade () {
|
||||||
|
echo ""
|
||||||
|
echo "[FAKE//OS] Upgrading to latest Git version..."
|
||||||
|
echo "[FAKE//OS] Upgraded: $(date)"
|
||||||
|
$FAKE_SUDO curl https://fake.onl/fake-os.sh | sh
|
||||||
|
echo ""
|
||||||
|
echo "Restart shell/terminal to take effect."
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue