Magellan Linux

Diff of /branches/R11-unstable/include/mtools.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8644 by niro, Wed Jul 27 11:18:18 2011 UTC revision 9862 by niro, Fri Jan 13 19:21:26 2012 UTC
# Line 468  minstallcron() Line 468  minstallcron()
468    
469    
470  # installs logrotate configuration files  # installs logrotate configuration files
471  # minstallpam /path/to/logrotatefile {destfilename}  # minstalllog /path/to/logrotatefile {destfilename}
472  minstalllog()  minstalllog()
473  {  {
474   local logfile   local logfile
# Line 648  mcopy() Line 648  mcopy()
648   source="$2"   source="$2"
649   dest="$3"   dest="$3"
650   fi   fi
651    
652     if [[ $1 = -a ]]
653     then
654     opts="--archive"
655     source="$2"
656     dest="$3"
657     fi
658    
659   [[ -z ${source} ]] && die "No source given."   [[ -z ${source} ]] && die "No source given."
660   [[ -z ${dest} ]] && die "No dest given."   [[ -z ${dest} ]] && die "No dest given."

Legend:
Removed from v.8644  
changed lines
  Added in v.9862