From d08a74a2d3b91ce624564ba65ac3d15a50ed779b Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 17 Dec 2003 21:04:55 +0000 Subject: Add gdesklets-sensor-psi_disk, a disk space monitor backend Sensor for gDesklets from the PSI project. PR: 59828 Submitted by: Franz Klammer --- .../files/patch-Install_Disk_Sensor.bin | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sysutils/gdesklets-sensor-psi_disk/files/patch-Install_Disk_Sensor.bin (limited to 'sysutils/gdesklets-sensor-psi_disk/files') diff --git a/sysutils/gdesklets-sensor-psi_disk/files/patch-Install_Disk_Sensor.bin b/sysutils/gdesklets-sensor-psi_disk/files/patch-Install_Disk_Sensor.bin new file mode 100644 index 0000000..ccaecec --- /dev/null +++ b/sysutils/gdesklets-sensor-psi_disk/files/patch-Install_Disk_Sensor.bin @@ -0,0 +1,19 @@ +--- Install_Disk_Sensor.bin.orig Wed Nov 19 18:34:09 2003 ++++ Install_Disk_Sensor.bin Wed Nov 19 18:34:26 2003 +@@ -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") -- cgit v1.1