diff options
author | matthias <matthias> | 2007-12-18 15:03:42 +0000 |
---|---|---|
committer | matthias <matthias> | 2007-12-18 15:03:42 +0000 |
commit | 4296ac34ab12564a2ad1373d836f05640c81a52d (patch) | |
tree | 98cdb4e47164cef56af17ae8fd844682b4381e44 | |
parent | 97804f576ce06062889d857e8da69d3f39b42708 (diff) |
Honor file system flags when reinstalling backups
-rwxr-xr-x | client/update-dragonfly.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/update-dragonfly.sh b/client/update-dragonfly.sh index d2f7d6a..88afc9c 100755 --- a/client/update-dragonfly.sh +++ b/client/update-dragonfly.sh @@ -251,8 +251,10 @@ reinstall_backup() # Calculate the filename of the modified (new) file BACKUP_TEMP=${BACKUPDIR}/${FSUFFIX} cat ${BACKUP_TEMP} | ${ZIP} -d > ${TMPF} || return 1 + handle_file_flags ${BINARY} ${FLAGS} 0 install -m ${MODE} -o ${USER} -g ${GROUP} \ ${TMPF} ${BINARY} || return 1 + handle_file_flags ${BINARY} ${FLAGS} 1 rm -f ${TMPF} || return 1 else echo "${BINARY}" |