File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ You'll need to open a new shell for this to take effect.
6666## What if I want to uninstall this?
6767If you used the automated install script to install notes, you can uninstall it the same way, by running:
6868``` bash
69- curl -L https://rawgit.com/pimterry/notes/master/install.sh | bash -s uninstall
69+ curl -L https://rawgit.com/pimterry/notes/master/install.sh | bash -s -- uninstall
7070```
7171
7272## How do I configure this?
Original file line number Diff line number Diff line change 44
55# Yay, Echo self documents! :D
66echo " Checking for root..."
7- [ " $( whoami) " != " root" ] && exec sudo -- " $0 " " $@ "
7+ [ " $( whoami) " != " root" ] && exec sudo -- " $0 " -s -- " $@ "
88
99# This has to be defined after root elevation or script will fail.
1010function assertInstalled() {
@@ -17,7 +17,7 @@ function assertInstalled() {
1717}
1818
1919# Make sure we have everything actually installed that we need to install this.
20- echo " Checking for Dependencies ..."
20+ echo " Checking for dependencies ..."
2121 assertInstalled bash curl tar mktemp install make
2222
2323# Variable Definitions go here.
You can’t perform that action at this time.
0 commit comments