blob: d0c04c966687234f571e5228b0ad4940a1f9a6fa (
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
37
38
39
40
41
42
43
44
45
46
47
48
|
diff -ur wbarconf.orig/install.sh wbarconf/install.sh
--- wbarconf.orig/install.sh 2008-05-27 14:44:20.000000000 +0300
+++ wbarconf/install.sh 2008-12-06 14:44:52.000000000 +0200
@@ -1,5 +1,6 @@
#!/bin/sh
startdir=$1
+version=0.7.2
if [ $(echo $1|wc -w) -eq 0 ];then
echo "Usage: install.sh /path/to"
@@ -14,9 +15,8 @@
mkdir -p $startdir/bin/ || return 1
install -m0755 wbarconf $startdir/bin/ || return 1
-mkdir -p $startdir/share/wbarconf/
-install -m0644 README $startdir/share/wbarconf/ || return 1
-install -m0644 COPYING $startdir/share/wbarconf/ || return 1
+mkdir -p $startdir/share/doc/wbarconf-$version/
+install -m0644 README $startdir/share/doc/wbarconf-$version/ || return 1
mkdir -p $startdir/share/locale/ || return 1
cp -av locale/* $startdir/share/locale/ || return 1
@@ -24,7 +24,8 @@
find $startdir/share/locale/ -name wbarconf.po -print | xargs rm -f
install -m0644 messages.pot $startdir/share/wbarconf/ || return 1
-cp -av wbarbacks $startdir/share/wbarconf/ || return 1
+mkdir -p $startdir/share/wbarconf/
+cp -dpRv wbarbacks $startdir/share/wbarconf/ || return 1
chmod 0655 -R $startdir/share/wbarconf/ || return 1
mkdir -p $startdir/share/pixmaps/
diff -ur wbarconf.orig/wbarconf.desktop wbarconf/wbarconf.desktop
--- wbarconf.orig/wbarconf.desktop 2008-05-13 16:23:17.000000000 +0300
+++ wbarconf/wbarconf.desktop 2008-12-06 14:46:00.000000000 +0200
@@ -2,10 +2,10 @@
Name=WbarConf
Exec=wbarconf
Type=Application
-Icon=wbarconf.png
+Icon=wbarconf
Terminal=false
StartupNotify=true
-Categories=GTK;Utility;
+Categories=GTK;Utility;
Comment=Configuration tool for wbar
Comment[de]=Konfigurationswerkzeug für Wbar
Comment[fi]=Asetustyökalu wbar:lle
|