issue with uninstaller #5

Ouvert
par Ghost ouverts il y a 6 ans · 1 commentaires
Ghost a commenté il y a 6 ans

i get this error when running the uninstaller

root@merith-tk:/# curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | bash
Removing Gitea and DELETING ALL DATA.
Stopping and removing the Gitea service.
Warning: gitea.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Failed to execute operation: No such file or directory
rm: cannot remove '/etc/systemd/system/gitea.service': No such file or directory
Deleting Gitea configuration and Data.
rm: cannot remove '/usr/local/bin/gitea': No such file or directory
bash: line 18: syntax error near unexpected token `else'
bash: line 18: `else
i get this error when running the uninstaller ``` root@merith-tk:/# curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | bash Removing Gitea and DELETING ALL DATA. Stopping and removing the Gitea service. Warning: gitea.service changed on disk. Run 'systemctl daemon-reload' to reload units. Failed to execute operation: No such file or directory rm: cannot remove '/etc/systemd/system/gitea.service': No such file or directory Deleting Gitea configuration and Data. rm: cannot remove '/usr/local/bin/gitea': No such file or directory bash: line 18: syntax error near unexpected token `else' bash: line 18: `else ```

Hi @DovaMerith!

The repo owner misspelled the shell format and the command. The correct is:

curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | sh
Hi @DovaMerith! The repo owner misspelled the shell format and the command. The correct is: ``` curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | sh ```
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
Aucun jalon
Pas d'assignataires
1 participants
Notifications
Échéance

Aucune échéance n'a été définie.

Dépendances

Ce ticket n'a actuellement pas de dépendance.

Chargement…
Il n'existe pas encore de contenu.