Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
351369b8
Commit
351369b8
authored
16 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
update makecd handler to work with new toolset
parent
d404d8b7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
handlers/makecd.in
+7
-7
7 additions, 7 deletions
handlers/makecd.in
with
9 additions
and
7 deletions
ChangeLog
+
2
−
0
View file @
351369b8
...
@@ -58,6 +58,8 @@ version 0.9.6 -- July 21, 2008
...
@@ -58,6 +58,8 @@ version 0.9.6 -- July 21, 2008
trac:
trac:
. stop failing on all the trac backups if just one fails, this means
. stop failing on all the trac backups if just one fails, this means
removing the temporary trac backup directories if they fail
removing the temporary trac backup directories if they fail
makecd
. updated handler for new toolset (genisoimage and wodim)
version 0.9.5 -- December 2, 2007
version 0.9.5 -- December 2, 2007
backupninja changes
backupninja changes
...
...
This diff is collapsed.
Click to expand it.
handlers/makecd.in
+
7
−
7
View file @
351369b8
...
@@ -13,10 +13,9 @@ getconf device
...
@@ -13,10 +13,9 @@ getconf device
getconf nicelevel 0
getconf nicelevel 0
# define needed executables:
# define needed executables:
MKISOFS
=
"/usr/bin/
mkisofs
"
MKISOFS
=
"/usr/bin/
genisoimage
"
GROWISOFS
=
"/usr/bin/growisofs"
GROWISOFS
=
"/usr/bin/growisofs"
#CDRECORD="/usr/bin/cdrecord"
CDRECORD
=
"/usr/bin/wodim"
CDRECORD
=
"/usr/bin/cdrecord.mmap"
CDRDAO
=
"/usr/bin/cdrdao"
CDRDAO
=
"/usr/bin/cdrdao"
DVDINFO
=
"/usr/bin/dvd+rw-mediainfo"
DVDINFO
=
"/usr/bin/dvd+rw-mediainfo"
...
@@ -26,10 +25,10 @@ DVDINFO="/usr/bin/dvd+rw-mediainfo"
...
@@ -26,10 +25,10 @@ DVDINFO="/usr/bin/dvd+rw-mediainfo"
[
-d
$backupdir
]
||
fatal
"Backup directory '
$backupdir
'"
[
-d
$backupdir
]
||
fatal
"Backup directory '
$backupdir
'"
[
-e
"
$target
"
]
||
fatal
"target does not exist "
[
-e
"
$target
"
]
||
fatal
"target does not exist "
[
-x
"
$MKISOFS
"
]
||
debug 3
"echo executable
mkisofs
not present"
[
-x
"
$MKISOFS
"
]
||
debug 3
"echo executable
$MKISOFS
not present"
[
-x
"
$GROWISOFS
"
]
||
debug 3
"echo executable
growisofs
not present"
[
-x
"
$GROWISOFS
"
]
||
debug 3
"echo executable
$GROWISOFS
not present"
[
-x
"
$CDRECORD
"
]
||
debug 3
"echo executable
cdrecord
not present"
[
-x
"
$CDRECORD
"
]
||
debug 3
"echo executable
$CDRECORD
not present"
[
-x
"
$CDRDAO
"
]
||
debug 3
"echo executable
cdrdao
not present"
[
-x
"
$CDRDAO
"
]
||
debug 3
"echo executable
$CDRDAO
not present"
if
[
"
$isoonly
"
==
"no"
]
;
then
if
[
"
$isoonly
"
==
"no"
]
;
then
[
-e
$device
]
||
fatal
"No Burner device available"
[
-e
$device
]
||
fatal
"No Burner device available"
...
@@ -86,3 +85,4 @@ if [ "$isoonly" == "no" ]; then
...
@@ -86,3 +85,4 @@ if [ "$isoonly" == "no" ]; then
fi
fi
fi
fi
return
0
return
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment