freebsd-ports/x11-clocks/gdesklets-praytime/files/patch-Install_PrayerTime_Sensor.bin

20 lines
648 B
Text
Raw Normal View History

--- 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")