aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-05-19 19:34:06 +0200
committerDuncaen <mail@duncano.de>2017-05-19 19:36:04 +0200
commit4e44b4a9f746d4a06d7e9001a035dda4e5c42fcb (patch)
tree2d8490d056fb3f25fc2c1ccd27a939128d9b3523
parenta24d8c550b9b118f83dd15e95a057a08867c8107 (diff)
downloaddotfiles-4e44b4a9f746d4a06d7e9001a035dda4e5c42fcb.tar.gz
install: remove -v from ln and mkdir, they are not portable
-rwxr-xr-xinstall-root.sh2
-rwxr-xr-xinstall.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/install-root.sh b/install-root.sh
index 806865f..f07dbe7 100755
--- a/install-root.sh
+++ b/install-root.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-ln -sfv "${PWD}/sv/runsvdir-duncan" /etc/sv
+ln -sf "${PWD}/sv/runsvdir-duncan" /etc/sv
diff --git a/install.sh b/install.sh
index 7cecb56..13090d7 100755
--- a/install.sh
+++ b/install.sh
@@ -5,11 +5,11 @@ msg() { t=$1; shift; printf '%s: %s\n' "$t" "$@"; }
_ln_home() {
[ -z "$2" ] && tgt="$HOME/$1" || tgt="$HOME/$2"
src="$PWD/$1"
- [ -e "$tgt" ] && mv -v "$tgt" "$tgt.bak"
- ln -sfv "$src" "$tgt"
+ [ -e "$tgt" ] && mv "$tgt" "$tgt.bak"
+ ln -sf "$src" "$tgt"
}
_mkdir() {
- mkdir -vp $@
+ mkdir -p $@
}
_vim() {
@@ -51,7 +51,7 @@ _void() {
}
_ssh() {
msg "INSTALL" "ssh config"
- mkdir -pv "$HOME/.ssh"
+ mkdir -p "$HOME/.ssh"
_ln_home "ssh/config" ".ssh/config"
}
_bin() {