[arch-commits] Commit in pathological/trunk (pathological.install)

Eric Bélanger eric at archlinux.org
Sat Jul 11 01:32:26 UTC 2009


    Date: Friday, July 10, 2009 @ 21:32:25
  Author: eric
Revision: 45404

upgpkg: pathological 1.1.3-5
    Fixed install scriptlet

Modified:
  pathological/trunk/pathological.install

----------------------+
 pathological.install |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: pathological.install
===================================================================
--- pathological.install	2009-07-11 01:25:33 UTC (rev 45403)
+++ pathological.install	2009-07-11 01:32:25 UTC (rev 45404)
@@ -1,4 +1,5 @@
 post_install() {
+if [ ! -e var/games/pathological_scores ]; then
     cat << _EOF > var/games/pathological_scores
 0 all-boards 1 John-Paul
 0 all-boards 1 Kim
@@ -11,7 +12,7 @@
 0 all-boards 1 everyone who
 0 all-boards 1 contributed!
 _EOF
-
+fi
   chown root:games var/games/pathological_scores
   chmod 664 var/games/pathological_scores
 }




More information about the arch-commits mailing list