Magellan Linux

Diff of /smage/trunk/include/alx.sminc

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

revision 3884 by niro, Mon Jul 23 09:59:24 2012 UTC revision 5213 by niro, Mon Dec 16 10:18:28 2013 UTC
# Line 21  mcinjectfile() Line 21  mcinjectfile()
21   if [[ -z $2 ]]   if [[ -z $2 ]]
22   then   then
23   dest=/usr/bin   dest=/usr/bin
  install -d ${BINDIR}/${dest} || die  
24   fi   fi
25    
26     # needed directory
27     minstalldir ${dest} || die
28    
29   # install our configfile   # install our configfile
30   install -m 0644 -o root -g root ${file} ${BINDIR}/${dest} || die   minstallfile ${file} ${dest} || die
31  }  }
32    
33  # injects executables to given path  # injects executables to given path
# Line 42  mcinjectexec() Line 44  mcinjectexec()
44   if [[ -z $2 ]]   if [[ -z $2 ]]
45   then   then
46   dest=/usr/bin   dest=/usr/bin
  install -d ${BINDIR}/${dest} || die  
47   fi   fi
48    
49     # needed directory
50     minstalldir ${dest} || die
51    
52   # install our configfile   # install our configfile
53   install -m 0755 -o root -g root ${file} ${BINDIR}/${dest} || die   minstallexec ${file} ${dest} || die
54  }  }
55    
56  # injects a patch to the sourcecode  # injects a patch to the sourcecode

Legend:
Removed from v.3884  
changed lines
  Added in v.5213