Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
099ee5ef
Commit
099ee5ef
authored
Aug 26, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shell equality syntax.
parent
8a3e7c39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/backupserver/software.cfg
software/backupserver/software.cfg
+1
-1
software/backupserver/template-backup-script.sh.in
software/backupserver/template-backup-script.sh.in
+1
-1
No files found.
software/backupserver/software.cfg
View file @
099ee5ef
...
@@ -196,7 +196,7 @@ mode = 0644
...
@@ -196,7 +196,7 @@ mode = 0644
[template-backup-script]
[template-backup-script]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/template-backup-script.sh.in
url = ${:_profile_base_location_}/template-backup-script.sh.in
md5sum =
ce63dd27aaea8b64f446a7aef9406873
md5sum =
92183f2d42e8ffb8112f26ecab2cdcbc
output = ${buildout:directory}/template-backup-script.sh.in
output = ${buildout:directory}/template-backup-script.sh.in
mode = 0644
mode = 0644
...
...
software/backupserver/template-backup-script.sh.in
View file @
099ee5ef
...
@@ -22,7 +22,7 @@ ${rdiff-backup-output:rdiff-backup} \
...
@@ -22,7 +22,7 @@ ${rdiff-backup-output:rdiff-backup} \
RESULT=$?
RESULT=$?
# Inform about backup status
# Inform about backup status
if [ $RESULT
==
0 ]
if [ $RESULT
-eq
0 ]
then
then
${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup success" >> $${:status_log}
${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup success" >> $${:status_log}
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment