From 9aff7f7fba1bed70545eb3ffd467e32e1aa63ca8 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Fri, 19 Feb 2021 14:55:00 +0100 Subject: [PATCH] copy permissions from templates --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index c006f6a..588ce38 100644 --- a/install.sh +++ b/install.sh @@ -138,6 +138,7 @@ function linkall { if [[ ${f: -9} == ".template" ]]; then mkdir -p $DOTFILES_TMP/$DIR cat $CDIR/$f | mo > $DOTFILES_TMP/$DIR/${f:0:-9} + chmod --reference=$CDIR/$f $DOTFILES_TMP/$DIR/${f:0:-9} CDIR=$DOTFILES_TMP/$DIR/ f=${f:0:-9} fi