Skip to content

Commit

Permalink
toltecctl: Fix typo in uninstall function (#365)
Browse files Browse the repository at this point in the history
Print '/opt' instead of '/home/root/.entware' in uninstall warning
  • Loading branch information
matteodelabre authored Jun 7, 2021
1 parent d813cc2 commit c2b0a0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package/toltec-bootstrap/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
pkgnames=(toltec-bootstrap)
pkgdesc="Manage your Toltec install"
url=https://toltec-dev.org/
pkgver=0.0.5-1
timestamp=2021-05-08T09:12Z
pkgver=0.0.6-1
timestamp=2021-06-06T08:36Z
section="utils"
maintainer="Eeems <[email protected]>"
license=MIT
Expand Down
6 changes: 3 additions & 3 deletions package/toltec-bootstrap/toltecctl
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ uninstall-force() {
uninstall() {
# Remove all installed packages after prompting user
if [[ $# -gt 0 && ($1 = "-f" || $1 = "--force") ]]; then
uninstall_force
uninstall-force
return
fi

read -p "This will wipe out all files in '$toltec_src'. Continue? [y/n] " -n 1 -r
read -p "This will wipe out all files in '$toltec_dest'. Continue? [y/n] " -n 1 -r
echo

if [[ $REPLY =~ ^[Yy]$ ]]; then
uninstall_force
uninstall-force
return
fi

Expand Down

0 comments on commit c2b0a0b

Please sign in to comment.