projects
/
sitarba.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5210973
)
makefile: write sample conf to /usr/share/shbackup/
author
Stefan Huber <shuber2@gmx.at>
Mon, 21 May 2012 07:36:03 +0000
(09:36 +0200)
committer
Stefan Huber <shuber2@gmx.at>
Mon, 21 May 2012 07:36:03 +0000
(09:36 +0200)
Makefile
patch
|
blob
|
history
shbackup
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 0a85db15139480a138593191966b44931b7119b0..408a6adf29c846311fddbfa2e2ded1e4abc1989e 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,8
@@
PREFIX=/usr
# Where the script binary should go
BINPATH = $(PREFIX)/bin
PREFIX=/usr
# Where the script binary should go
BINPATH = $(PREFIX)/bin
-# Where the manpage should go
MANPATH = $(PREFIX)/share/man
MANPATH = $(PREFIX)/share/man
-CONFFILE =
/etc/shbackup.conf
+CONFFILE =
$(PREFIX)/share/shbackup.conf.sample
######################################################################
######################################################################
diff --git
a/shbackup
b/shbackup
index f8f8c26f324fe5cb4d830d553a086e8f0668f141..c74cd2b5fa8f66e8d8936f93974dca14f00d26f0 100755
(executable)
--- a/
shbackup
+++ b/
shbackup
@@
-172,7
+172,7
@@
class Config:
def __init__(self):
self.backupdir = None
def __init__(self):
self.backupdir = None
- self.format = self.formats[
0
]
+ self.format = self.formats[
1
]
self.tarbin = "/bin/tar"
self.excludes = []
self.sets = []
self.tarbin = "/bin/tar"
self.excludes = []
self.sets = []