Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=cff5f953551826af6cb88803c29f677c4e58db00

commit cff5f953551826af6cb88803c29f677c4e58db00
Author: crazy <[EMAIL PROTECTED]>
Date:   Thu Jun 5 01:45:27 2008 +0200

new test for packages with broken etc path
* added etc test to check for invalid /usr/etc path

diff --git a/t/etc b/t/etc
new file mode 100755
index 0000000..6b26a8b
--- /dev/null
+++ b/t/etc
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+if [ "$1" ==  "--help" ]; then
+        echo "packages with invalid /usr/etc path"
+        exit 1
+fi
+
+cd ../frugalware-i686
+for i in $(ls|grep fpm$)
+do
+        pacman-g2 -Ql -p "$i" |grep -q usr/etc && echo $i
+done
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to