aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-09 14:04:51 -0500
committerDave Reisner <d@falconindy.com>2010-01-09 14:04:51 -0500
commit300ac9d4edc7196e630f30482c928e7ed47f5ac3 (patch)
treef2205c0e217076691063c77162e0ada7b247b5d3
parente2359c8c28e56fa4be070926efebbd075e81ea0d (diff)
downloadsquashfu-300ac9d4edc7196e630f30482c928e7ed47f5ac3.tar.gz
Convert include/exclude declaration to a heredoc
-rw-r--r--squashfu.conf38
1 files changed, 21 insertions, 17 deletions
diff --git a/squashfu.conf b/squashfu.conf
index 58fc66f..5cc77f4 100644
--- a/squashfu.conf
+++ b/squashfu.conf
@@ -51,22 +51,26 @@ KEEP_LAST_WEEK=true
RESQUASH_DAY=7
-# The following defines what will and won't be backed up. All lines
-# MUST be commented, followed by a + for include, or a - for exclude.
-# All other lines will be ignored (or things will break). To comment
-# a line rather than removing it, add an additional #.
+# The following defines what will and won't be backed up. The format
+# is that of a heredoc. Multiple include and exclude heredocs are NOT
+# supported, although this config can be overridden in a separate config
+# file with --config or -c..
-#+/boot
-#+/etc
-#+/home
-#+/root
-#+/usr/share
-#+/var/lib/pacman
+<<INCLUDES
+/boot
+/etc
+/home
+/root
+/usr/share
+/var/lib/pacman
+INCLUDES
-#-/boot/lost+found
-#-/home/lost+found
-#-/home/*/.cache
-#-/home/*/.thumbnails
-#-/home/*/.lyrics
-#-/home/*/.gnome2
-#-/home/*/dev/*/*/.git
+<<EXCLUDES
+/boot/lost+found
+/home/lost+found
+/home/*/.cache
+/home/*/.thumbnails
+/home/*/.lyrics
+/home/*/.gnome2
+/home/*/dev/*/*/.git
+EXCLUDES