mirror of
https://github.com/gogrlx/bootstrap.grlx.dev.git
synced 2026-04-02 02:59:05 -07:00
feat(sprout): added uninstall to latest sprout
This commit is contained in:
@@ -22,6 +22,7 @@ case $arch in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [ -z "$UNINSTALL" ]; then
|
||||||
if [ ! -f /etc/grlx/sprout ]; then
|
if [ ! -f /etc/grlx/sprout ]; then
|
||||||
mkdir -p /etc/grlx
|
mkdir -p /etc/grlx
|
||||||
if [ -z "$FARMERINTERFACE" ]; then
|
if [ -z "$FARMERINTERFACE" ]; then
|
||||||
@@ -66,3 +67,9 @@ EOF
|
|||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable --now grlx-sprout
|
systemctl enable --now grlx-sprout
|
||||||
|
else
|
||||||
|
systemctl disable --now grlx-sprout
|
||||||
|
rm -f /etc/systemd/system/grlx-sprout.service
|
||||||
|
rm -f /usr/local/bin/grlx-sprout
|
||||||
|
rm -rf /etc/grlx
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user