Magellan Linux

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

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

branches/magellan-next/include/mtools.sminc revision 8642 by niro, Wed Jul 27 11:09:50 2011 UTC trunk/include/mtools.sminc revision 9880 by niro, Sat Jan 14 01:48:34 2012 UTC
# Line 14  mpname() Line 14  mpname()
14   echo "${pname}"   echo "${pname}"
15  }  }
16    
 # get the bindir right with splitpackages  
 mbindir()  
 {  
  echo "${BINDIR}"  
 }  
   
17  # installs initscripts  # installs initscripts
18  # minstallrc /path/to/rc-script {destfilename}  # minstallrc /path/to/rc-script {destfilename}
19  minstallrc()  minstallrc()
# Line 474  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 654  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.8642  
changed lines
  Added in v.9880