if [ -f .INSTALL ]; then
echo "Running post_install script for \"$i\""
/bin/bash -c ". .INSTALL; post_install"
fi
rm -f .INSTALL .MTREE .PKGINFO .BUILDINFO
- done
+}
+move_extracted_files() {
- echo "Move extracted data to destination directory"
- if [ -d mingw32 ]; then
for d in bin etc home include lib libexec locale sbin share ssl var; do
if [ -d "mingw32/$d" ]; then
rm -rf $d
# prevent sporadic 'permission denied' errors on my system, not sure why they happen
sleep 0.5
As discussed on IRC, it *does* delete only $d which is intended here because mingw32/$d is moved to $d afterwards.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/375/files#r55923361