summaryrefslogtreecommitdiffstats
path: root/sysutils/gdesklets-sensor-psi_disk/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-12-17 21:04:55 +0000
committermarcus <marcus@FreeBSD.org>2003-12-17 21:04:55 +0000
commitd08a74a2d3b91ce624564ba65ac3d15a50ed779b (patch)
tree44f3f2f3f564e6766ad6a912f0e7526f0efa86d3 /sysutils/gdesklets-sensor-psi_disk/files
parent6b5efb2033b569f86554ba6ea6480809391427ab (diff)
downloadFreeBSD-ports-d08a74a2d3b91ce624564ba65ac3d15a50ed779b.zip
FreeBSD-ports-d08a74a2d3b91ce624564ba65ac3d15a50ed779b.tar.gz
Add gdesklets-sensor-psi_disk, a disk space monitor backend Sensor for
gDesklets from the PSI project. PR: 59828 Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'sysutils/gdesklets-sensor-psi_disk/files')
-rw-r--r--sysutils/gdesklets-sensor-psi_disk/files/patch-Install_Disk_Sensor.bin19
1 files changed, 19 insertions, 0 deletions
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")
OpenPOWER on IntegriCloud