[arch-commits] Commit in pinball/repos (extra-x86_64 extra-x86_64/pinball.install)

Eric Bélanger eric at archlinux.org
Thu Apr 16 23:08:08 EDT 2009


    Date: Thursday, April 16, 2009 @ 23:08:08
  Author: eric
Revision: 35773

Merged revisions 35771 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/pinball/trunk

........
  r35771 | eric | 2009-04-16 23:07:52 -0400 (Thu, 16 Apr 2009) | 2 lines
  
  upgpkg: pinball 0.3.1-4
      fixed install scriptlet
........

Modified:
  pinball/repos/extra-x86_64/	(properties)
  pinball/repos/extra-x86_64/pinball.install

-----------------+
 pinball.install |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


Property changes on: pinball/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /pinball/trunk:1-35761
   + /pinball/trunk:1-35771

Modified: extra-x86_64/pinball.install
===================================================================
--- extra-x86_64/pinball.install	2009-04-17 03:08:05 UTC (rev 35772)
+++ extra-x86_64/pinball.install	2009-04-17 03:08:08 UTC (rev 35773)
@@ -5,12 +5,13 @@
 }
 
 pre_upgrade() {
-    cp var/games/pinball/professor/highscores var/games/pinball/professor/highscores.bak.pre_upgrade
-    cp var/games/pinball/tux/highscores var/games/pinball/tux/highscores.bak.pre_upgrade
+  chown root:games var/games/pinball/{professor,tux}
+  chmod 775 var/games/pinball/{professor,tux}
+  cp var/games/pinball/professor/highscores var/games/pinball/professor/highscores.bak.pre_upgrade
+  cp var/games/pinball/tux/highscores var/games/pinball/tux/highscores.bak.pre_upgrade
 }
 
 post_upgrade() {
-
   if [ -e var/games/pinball/professor/highscores.bak.pre_upgrade ]; then
     mv var/games/pinball/professor/highscores.bak.pre_upgrade var/games/pinball/professor/highscores
   fi



More information about the arch-commits mailing list