summaryrefslogtreecommitdiff
path: root/script/build-backup-data.sh
diff options
context:
space:
mode:
Diffstat (limited to 'script/build-backup-data.sh')
-rwxr-xr-xscript/build-backup-data.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/build-backup-data.sh b/script/build-backup-data.sh
index bb8d58e..da67765 100755
--- a/script/build-backup-data.sh
+++ b/script/build-backup-data.sh
@@ -62,6 +62,9 @@ create_archive() {
bash -c "find $i $xpath -exec /usr/bin/chsmack {} \; >> $rdir/smack_label.txt"
done
+ # workaround for the files with empty smack properies
+ sed -i -e "s/: No smack property found//g" $rdir/smack_label.txt
+
chmod go-rwx $rdir/* $rdir $rdir/..
}