summaryrefslogtreecommitdiff
path: root/x11-wm/sapphire/files/patch-aa
blob: 7fb82408f93bb3c97ad9e4d1ffce55c7adec4cbe (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- sapphire.inst.orig	Sun Feb 13 14:27:43 2000
+++ sapphire.inst	Thu Feb 17 22:35:52 2000
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Sapphire 0.14.0
 #
@@ -9,6 +9,7 @@
 # 13 Feb 2000 at 12:27am
 # frankhale@yahoo.com
 #
+DATADIR = %%PREFIX%%/share/sapphire
 if [ -d ~/.sapphire ]
 then
 	echo "~/.sapphire directory exists, deleting it now.";
@@ -33,15 +34,15 @@
 	
 	echo "created directory ~/.sapphire/menu";		
 	
-	cp data/themes/* ~/.sapphire/themes
+	cp $DATADIR/themes/* ~/.sapphire/themes
 
 	echo "copied themes";
 	
-	cp data/wmconfig/* ~/.sapphire/wmconfig
+	cp $DATADIR/wmconfig/* ~/.sapphire/wmconfig
 
 	echo "copied wmconfig";
 	
-	cp data/menu/* ~/.sapphire/menu
+	cp $DATADIR/menu/* ~/.sapphire/menu
 	
 	echo "copied menu";
 
@@ -65,15 +66,15 @@
 	
 	echo "created directory ~/.sapphire/menu";		
 	
-	cp data/themes/* ~/.sapphire/themes
+	cp $DATADIR/themes/* ~/.sapphire/themes
 
 	echo "copied themes";
 	
-	cp data/wmconfig/* ~/.sapphire/wmconfig
+	cp $DATADIR/wmconfig/* ~/.sapphire/wmconfig
 
 	echo "copied wmconfig";
 	
-	cp data/menu/* ~/.sapphire/menu
+	cp $DATADIR/menu/* ~/.sapphire/menu
 	
 	echo "copied menu";