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.
66
66
## What if I want to uninstall this?
67
67
If you used the automated install script to install notes, you can uninstall it the same way, by running:
68
68
``` 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
70
70
```
71
71
72
72
## How do I configure this?
Original file line number Diff line number Diff line change 4
4
5
5
# Yay, Echo self documents! :D
6
6
echo " Checking for root..."
7
- [ " $( whoami) " != " root" ] && exec sudo -- " $0 " " $@ "
7
+ [ " $( whoami) " != " root" ] && exec sudo -- " $0 " -s -- " $@ "
8
8
9
9
# This has to be defined after root elevation or script will fail.
10
10
function assertInstalled() {
@@ -17,7 +17,7 @@ function assertInstalled() {
17
17
}
18
18
19
19
# Make sure we have everything actually installed that we need to install this.
20
- echo " Checking for Dependencies ..."
20
+ echo " Checking for dependencies ..."
21
21
assertInstalled bash curl tar mktemp install make
22
22
23
23
# Variable Definitions go here.
You can’t perform that action at this time.
0 commit comments