--- smage/trunk/include/alx.sminc 2012/07/23 09:59:24 3884 +++ smage/trunk/include/alx.sminc 2013/12/16 10:18:28 5213 @@ -21,11 +21,13 @@ if [[ -z $2 ]] then dest=/usr/bin - install -d ${BINDIR}/${dest} || die fi + # needed directory + minstalldir ${dest} || die + # install our configfile - install -m 0644 -o root -g root ${file} ${BINDIR}/${dest} || die + minstallfile ${file} ${dest} || die } # injects executables to given path @@ -42,11 +44,13 @@ if [[ -z $2 ]] then dest=/usr/bin - install -d ${BINDIR}/${dest} || die fi + # needed directory + minstalldir ${dest} || die + # install our configfile - install -m 0755 -o root -g root ${file} ${BINDIR}/${dest} || die + minstallexec ${file} ${dest} || die } # injects a patch to the sourcecode