diff options
author | intrigeri <intrigeri@boum.org> | 2005-11-29 10:07:38 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2005-11-29 10:07:38 +0000 |
commit | 70bf59bbce64db0bd70eddd1d43d6e3168f22060 (patch) | |
tree | a78ac66888b2b6a8a779da6cc0bd607c9f21c28d | |
parent | 58bceae74fff3d1d4ef61b3fedd000347d0b022e (diff) | |
download | backupninja-70bf59bbce64db0bd70eddd1d43d6e3168f22060.tar.gz backupninja-70bf59bbce64db0bd70eddd1d43d6e3168f22060.tar.bz2 |
r3549@krups: intrigeri | 2005-11-14 21:47:01 +0100
Fix documentation for get_next_filename function
-rwxr-xr-x | src/ninjahelper.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ninjahelper.in b/src/ninjahelper.in index 1045759..0f5af82 100755 --- a/src/ninjahelper.in +++ b/src/ninjahelper.in @@ -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?" |