makefile: write sample conf to /usr/share/shbackup/
authorStefan Huber <shuber2@gmx.at>
Mon, 21 May 2012 07:36:03 +0000 (09:36 +0200)
committerStefan Huber <shuber2@gmx.at>
Mon, 21 May 2012 07:36:03 +0000 (09:36 +0200)
Makefile
shbackup

index 0a85db1..408a6ad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,8 @@
 PREFIX=/usr
 # Where the script binary should go
 BINPATH = $(PREFIX)/bin
-# Where the manpage should go
 MANPATH = $(PREFIX)/share/man
-CONFFILE = /etc/shbackup.conf
+CONFFILE = $(PREFIX)/share/shbackup.conf.sample
 
 ######################################################################
 
index f8f8c26..c74cd2b 100755 (executable)
--- a/shbackup
+++ b/shbackup
@@ -172,7 +172,7 @@ class Config:
 
     def __init__(self):
         self.backupdir = None
-        self.format = self.formats[0]
+        self.format = self.formats[1]
         self.tarbin = "/bin/tar"
         self.excludes = []
         self.sets = []