[Lunar-commits] CVS: moonbase/games/wtf BUILD,1.1,1.2

Auke Kok sofar at lunar-linux.org
Mon Sep 27 12:51:50 UTC 2004


Update of /var/cvs/lunar/moonbase/games/wtf
In directory espresso.foo-projects.org:/tmp/cvs-serv4014

Modified Files:
	BUILD 
Log Message:
Fix on clean installs (please don't use cp if you can use install, and always mkdir -p and use trailing '/' on directories!)


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/games/wtf/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	13 Jul 2004 21:22:55 -0000	1.1
+++ BUILD	27 Sep 2004 12:51:48 -0000	1.2
@@ -2,13 +2,11 @@
 
   sedit "s/ACRONYMDB\:\-\/usr\/share\/misc\/acronyms/ACRONYMDB\:\-\/usr\/share\/games\/acronyms/" wtf &&
   prepare_install &&
-  chown root.root * &&
-  chmod +x wtf &&
-  cp wtf /usr/games &&
-  
   # YMMV but i prefer it this way ^^)
+  mkdir -p /usr/share/games /usr/share/man/man6
   cat acronyms.comp >> acronyms &&
-  cp acronyms /usr/share/games &&
-  cp wtf.6 /usr/share/man/man6/
+  install -m755 wtf /usr/games/ &&
+  install -m0644 acronyms /usr/share/games/ &&
+  install -m0644 wtf.6 /usr/share/man/man6/
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list