mirror of
https://github.com/89luca89/distrobox.git
synced 2026-11-02 20:30:16 -06:00
install/uninstall: add some comments
This commit is contained in:
2 files changed
+6
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user