Permalink
Browse files

Convert include/exclude declaration to a heredoc

  • Loading branch information...
1 parent e2359c8 commit 300ac9d4edc7196e630f30482c928e7ed47f5ac3 @falconindy committed Jan 9, 2010
Showing with 21 additions and 17 deletions.
  1. +21 −17 squashfu.conf
View
@@ -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

0 comments on commit 300ac9d

Please sign in to comment.