scripts

My personal collection of scripts
git clone git://src.gearsix.net/scripts
Log | Files | Refs | Atom | README | LICENSE

commit 54d81851cc05c6e6e2c5522ec525aa4027201ef8
parent ca8cff998d081071c565a2922aa58841e7f22ca7
Author: vagrant <vagrant@debian-11.0-amd64>
Date:   Tue, 21 Sep 2021 11:30:03 +0000

minor fix in install

Diffstat:
Minstall | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/install b/install @@ -149,6 +149,8 @@ if [[ $dir -eq 0 ]]; then else destination=${destination/"~"/"/home/$USER"} fi + ## check exists + if [ ! -e $destination ]; then mkdir -p "$destination"; fi ## check if need root permission to r/w if [ ! -w $destination ]; then echo "$destination: Permission denied"; exit 1; fi fi