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
70bf59bb
Commit
70bf59bb
authored
19 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
r3549@krups: intrigeri | 2005-11-14 21:47:01 +0100
Fix documentation for get_next_filename function
parent
58bceae7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ninjahelper.in
+2
-2
2 additions, 2 deletions
src/ninjahelper.in
with
2 additions
and
2 deletions
src/ninjahelper.in
+
2
−
2
View file @
70bf59bb
...
...
@@ -23,7 +23,7 @@ function check_perms() {
##
## returns the next available file name given a file
## in the form @CFGDIR@/backup.d/10.sys
## sets variable $
returned
_filename
## sets variable $
next
_filename
##
get_next_filename
()
{
next_filename
=
$1
...
...
@@ -41,7 +41,7 @@ get_next_filename() {
## installs packages (passed in as $@) if not present
##
require_packages
()
{
for
pkg
in
"
$@
"
;
do
for
pkg
in
"
$@
"
;
do
installed
=
`
dpkg
-s
$pkg
|
grep
'ok installed'
`
if
[
-z
"
$installed
"
]
;
then
booleanBox
"install
$pkg
?"
"This backup action requires package
$pkg
. Do you want to install it now?"
...
...
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