summaryrefslogtreecommitdiff
path: root/games/kdegames3/patches/patch-kfouleggs_Makefile.in
blob: 4de6c273f50a3845716f36f045c8f766eff41d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- kfouleggs/Makefile.in.orig	2008-08-20 17:43:05.000000000 +0200
+++ kfouleggs/Makefile.in	2011-11-02 12:57:01.562496478 +0100
@@ -905,28 +905,28 @@ install-data-local:
 
 install-exec-hook:
 	@(test x$(HIGHSCORE_DIRECTORY) != x \
-        && ((chown $(highscore_user):$(highscore_group) $(DESTBIN)) \
+        && ( (chown $(highscore_user):$(highscore_group) $(DESTBIN)) \
 	|| echo "Error: Could not install the game with correct permissions !!" \
 	)) || true
 
 	@(test x$(HIGHSCORE_DIRECTORY) != x \
-		&& ((mkdir -p $(DESTHIGHSCORES) && chown $(highscore_user):$(highscore_group) $(DESTHIGHSCORES) \
+		&& ( (mkdir -p $(DESTHIGHSCORES) && chown $(highscore_user):$(highscore_group) $(DESTHIGHSCORES) \
 		&& chmod 750 $(DESTHIGHSCORES)) \
 	|| echo "Error: Could not create the highscore directory with correct permissions !!" \
 	)) || true
 
 	@(test x$(HIGHSCORE_DIRECTORY) != x \
-        && ((chown $(highscore_user):$(highscore_group) $(DESTBIN)) \
+        && ( (chown $(highscore_user):$(highscore_group) $(DESTBIN)) \
 	|| echo "Error: Could not install the game with correct permissions !!" \
 	)) || true
 
 	@(test ${setgid} = true \
-        && ((chmod 2755  $(DESTBIN)) \
+        && ( (chmod 2755  $(DESTBIN)) \
 	|| echo "Error: Could not install the game with correct permissions !!" \
 	)) || true
 
 	@(test x$(HIGHSCORE_DIRECTORY) != x \
-        && ((touch $(DESTSCORES) && chown $(highscore_user):$(highscore_group) $(DESTSCORES) \
+        && ( (touch $(DESTSCORES) && chown $(highscore_user):$(highscore_group) $(DESTSCORES) \
 	&& chmod 0660 $(DESTSCORES)) \
 	|| echo "Error: Could not create system-wide highscore file with correct permissions !!" \
 	)) || true