Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=07c0d216a65296b0cc0308f692f5f63f82d6232e

commit 07c0d216a65296b0cc0308f692f5f63f82d6232e
Author: crazy <[email protected]>
Date:   Sat Oct 8 06:42:46 2016 +0200

don't allow /etc/autostart , should be /etc/xdg/autostart

diff --git a/scripts/makepkg b/scripts/makepkg
index 5c29a18..41b167b 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1817,6 +1817,14 @@ do
error "Bailing out, please fix your package!"
fi
fi
+       ## don't allow /etc/autostart , should be /etc/xdg/autostart
+       if [ -d ${dir}/etc/autostart ]; then
+               error "Your package installs files in /etc/autostart"
+               error "or /etc/autostart dir exists."
+               error "Use /etc/xdg/autostart"
+               error "Bailing out, please fix your package!"
+               exit 1
+       fi
## don't insstall files in /usr/<file>
if [  -d ${dir}/usr ]; then
files=$(find ${dir}/usr -maxdepth 1 -type f)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to