--- branches/magellan-next/include/mtools.sminc 2011/07/27 11:18:18 8644 +++ branches/magellan-next/include/mtools.sminc 2012/01/13 19:21:26 9862 @@ -468,7 +468,7 @@ # installs logrotate configuration files -# minstallpam /path/to/logrotatefile {destfilename} +# minstalllog /path/to/logrotatefile {destfilename} minstalllog() { local logfile @@ -648,6 +648,13 @@ source="$2" dest="$3" fi + + if [[ $1 = -a ]] + then + opts="--archive" + source="$2" + dest="$3" + fi [[ -z ${source} ]] && die "No source given." [[ -z ${dest} ]] && die "No dest given."