blob: e7e68ff7d286502aa1db4789cc98fec414030c4d (
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
|
--- applet.py.orig 2008-05-23 04:57:31.000000000 -0700
+++ applet.py 2008-05-26 23:23:31.512688566 -0700
@@ -43,7 +43,7 @@
os.environ['LC_ALL'] = 'C'
locale.setlocale (locale.LC_ALL, "")
-APPDIR="/usr/share/system-config-printer"
+APPDIR="%%PREFIX%%/share/system-config-printer"
DOMAIN="system-config-printer"
GLADE="applet.glade"
ICON="printer"
@@ -61,7 +61,7 @@
STATUS_GENERIC_DRIVER = 2
STATUS_NO_DRIVER = 3
- INSTALL_PACKAGES_COMMAND="/usr/bin/system-install-packages"
+ INSTALL_PACKAGES_COMMAND="/usr/bin/true"
def __init__ (self, bus):
self.bus = bus
@@ -170,7 +170,7 @@
pid = os.fork ()
if pid == 0:
# Child.
- cmd = "/usr/bin/system-config-printer"
+ cmd = "%%PREFIX%%/bin/system-config-printer"
argv.insert (0, cmd)
os.execvp (cmd, argv)
sys.exit (1)
|