issue with uninstaller #5

开启中
Ghost 创建于 6 年前 · 1 条评论
Ghost 评论于 6 年前

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 ```
Ghost 评论于 5 年前

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 ```
登录 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
1 名参与者
通知
到期时间

未设置到期时间。

依赖工单

此工单当前没有任何依赖。

正在加载...
这个人很懒,什么都没留下。