Fix documentation for get_next_filename function
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@233
758a04ac-41e6-0310-8a23-
8373a73cc35d
##
## 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
## 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?"