Magellan Linux

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

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

revision 4818 by niro, Tue May 7 13:01:42 2013 UTC revision 6001 by niro, Thu Mar 19 10:08:35 2015 UTC
# Line 117  alx-split_generate_src_install_dev() Line 117  alx-split_generate_src_install_dev()
117   *\**|*\\\**)   *\**|*\\\**)
118   if [[ -e \${BINDIR}/\$(dirname \${i}) ]]   if [[ -e \${BINDIR}/\$(dirname \${i}) ]]
119   then   then
120     echo find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm
121   find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm   find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm
122   fi   fi
123   ;;   ;;
124   *)   *)
125   if [[ -e \${BINDIR}/\${i} ]]   if [[ -e \${BINDIR}/\${i} ]]
126   then   then
127     echo rm -r \${BINDIR}/\${i}
128     rm -r \${BINDIR}/\${i} || die
129     # busybox does not detect symlinks with -e if the reference does not exists
130     elif [[ -L \${BINDIR}/\${i} ]]
131     then
132     echo rm -r \${BINDIR}/\${i}
133   rm -r \${BINDIR}/\${i} || die   rm -r \${BINDIR}/\${i} || die
134   fi   fi
135   ;;   ;;
# Line 168  alx-split_generate_src_install() Line 175  alx-split_generate_src_install()
175   *\**|*\\\**)   *\**|*\\\**)
176   if [[ -e \${BINDIR}/\$(dirname \${i}) ]]   if [[ -e \${BINDIR}/\$(dirname \${i}) ]]
177   then   then
178     echo find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm
179   find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm   find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm
180   fi   fi
181   ;;   ;;
182   *)   *)
183   if [[ -e \${BINDIR}/\${i} ]]   if [[ -e \${BINDIR}/\${i} ]]
184   then   then
185     echo rm -r \${BINDIR}/\${i}
186     rm -r \${BINDIR}/\${i} || die
187     # busybox does not detect symlinks with -e if the reference does not exists
188     elif [[ -L \${BINDIR}/\${i} ]]
189     then
190     echo rm -r \${BINDIR}/\${i}
191   rm -r \${BINDIR}/\${i} || die   rm -r \${BINDIR}/\${i} || die
192   fi   fi
193   ;;   ;;

Legend:
Removed from v.4818  
changed lines
  Added in v.6001