1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 20:49:17 +00:00

enable force on install

This commit is contained in:
deadc0de6
2020-11-16 14:25:16 +01:00
parent 7dd8019582
commit 315a898e77
10 changed files with 16 additions and 13 deletions

View File

@@ -242,7 +242,7 @@ echo "nomode" > ${tmps}/dotfiles/nomode
chmod 600 ${tmps}/dotfiles/nomode
echo "nomode" > ${tmpd}/nomode
chmod 600 ${tmpd}/nomode
cd ${ddpath} | ${bin} install -c ${cfg} -p p2 -V f_nomode
cd ${ddpath} | ${bin} install -c ${cfg} -f -p p2 -V f_nomode
has_rights "${tmpd}/nomode" "600"
## no user confirmation with force
@@ -262,7 +262,7 @@ echo "nomode" > ${tmps}/dotfiles/nomode
chmod 600 ${tmps}/dotfiles/nomode
echo "nomode" > ${tmpd}/nomode
chmod 700 ${tmpd}/nomode
cd ${ddpath} | printf 'y\ny\n' | ${bin} install -c ${cfg} -p p2 -V f_nomode
cd ${ddpath} | printf 'y\ny\n' | ${bin} install -f -c ${cfg} -p p2 -V f_nomode
has_rights "${tmpd}/nomode" "600"
## CLEANING