freebsd-ports/x11-clocks/gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin
Pav Lucistnik 0f4a49c72c Add gdesklets-praytime, a desklet that displays muslim prayer times
for a given city.

PR:		ports/60992
Submitted by:	Vincent Tantardini <vinc@FreeBSD-fr.org>
2004-01-07 00:35:38 +00:00

19 lines
648 B
Text

--- Install_PrayerTime_Sensor.bin.orig Tue Jan 6 21:50:08 2004
+++ Install_PrayerTime_Sensor.bin Tue Jan 6 21:50:33 2004
@@ -75,15 +75,9 @@
else:
cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
"LANG=C tar -xzvf %(tmp)s 2>&1"
- fail, out = commands.getstatusoutput(cmd % vars())
+ commands.getstatusoutput(cmd % vars())
os.unlink(tmp)
- if (fail):
- if (no_message): print ERROR_TAR + out
- else: message(ERROR_TAR + out, "error")
- sys.exit(1)
-
- print out
if (not list_only):
if (no_message): print SUCCESS
else: message(SUCCESS, "info")