install/uninstall: add some comments

This commit is contained in:
89luca89 committed 2022-02-11 22:57:56 +01:00
1 parent c5b5a15282
commit a0e6148f70
2 files changed
+6 -4

No files matched your search

+3 -2
View File
@@ -20,8 +20,9 @@
# POSIX
dest_path="/usr/local/bin"
# in case we're not root, just default to the home directory
if [ "$(id -u)" -ne 0 ]; then
dest_path="$HOME/.local/bin"
dest_path="${HOME}/.local/bin"
fi
verbose=0
@@ -36,7 +37,7 @@ show_help() {
install -p /usr/local/bin
Options:
--path/-p: path where to deploy the files (default /usr/local)
--path/-p: path where to deploy the files (default /usr/local/bin if root, ~/.local/bin if not)
--help/-h: show this message
-v: show more verbosity
EOF
+3 -2
View File
@@ -20,8 +20,9 @@
# POSIX
dest_path="/usr/local/bin"
# in case we're not root, just default to the home directory
if [ "$(id -u)" -ne 0 ]; then
dest_path="$HOME/.local/bin"
dest_path="${HOME}/.local/bin"
fi
verbose=0
@@ -36,7 +37,7 @@ show_help() {
uninstall -p /usr/local/bin
Options:
--path/-p: path where to deploy the files (default /usr/local)
--path/-p: path where to deploy the files (default /usr/local/bin if root, ~/.local/bin if not)
--help/-h: show this message
-v: show more verbosity
EOF