done
rmdir mingw32
- fi
+}
+cleanup_unnecessary_files() {
- echo "Cleanup unnecessary files"
- # etc: cleanup development files
- rm -rf etc/bash_completion.d
- rm -rf etc/dbus-1
- rm -rf etc/pkcs11
- rm -rf etc/xml
- # include: cleanup development files
- rm -rf include
- # lib: cleanup development files
- rm -rf libexec
Yeah, the comment is a bit misleading. Sorry. ``` $ ls -l bundle-plugins/libexec/* -rwxr-xr-x 1 enrico None 71586 Jul 10 2015 bundle-plugins/libexec/dbus-bash-completion-helper.exe -rwxr-xr-x 1 enrico None 22546 Jul 10 2015 bundle-plugins/libexec/geoclue-example.exe -rwxr-xr-x 1 enrico None 26689 Jul 10 2015 bundle-plugins/libexec/geoclue-geonames.exe -rwxr-xr-x 1 enrico None 54614 Jul 10 2015 bundle-plugins/libexec/geoclue-gsmloc.exe -rwxr-xr-x 1 enrico None 64544 Jul 10 2015 bundle-plugins/libexec/geoclue-hostip.exe -rwxr-xr-x 1 enrico None 81757 Jul 10 2015 bundle-plugins/libexec/geoclue-localnet.exe -rwxr-xr-x 1 enrico None 27452 Jul 10 2015 bundle-plugins/libexec/geoclue-manual.exe -rwxr-xr-x 1 enrico None 106206 Jul 10 2015 bundle-plugins/libexec/geoclue-master.exe -rwxr-xr-x 1 enrico None 27775 Jul 10 2015 bundle-plugins/libexec/geoclue-nominatim.exe -rwxr-xr-x 1 enrico None 78317 Jul 10 2015 bundle-plugins/libexec/geoclue-plazes.exe -rwxr-xr-x 1 enrico None 78238 Jul 10 2015 bundle-plugins/libexec/geoclue-skyhook.exe -rwxr-xr-x 1 enrico None 24743 Jul 10 2015 bundle-plugins/libexec/geoclue-yahoo.exe
bundle-plugins/libexec/gstreamer-1.0: total 20 -rwxr-xr-x 1 enrico None 20137 Feb 10 09:29 gst-plugin-scanner.exe ``` Nothing we need. Anyway, I'll change the script to let `libexec` alone and instead delete all *.exe. Then the resulting empty directories will be deleted at the end.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/375/files#r54353849