diff options
author | marcus <marcus@FreeBSD.org> | 2003-12-17 21:04:55 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-12-17 21:04:55 +0000 |
commit | d08a74a2d3b91ce624564ba65ac3d15a50ed779b (patch) | |
tree | 44f3f2f3f564e6766ad6a912f0e7526f0efa86d3 /sysutils/gdesklets-sensor-psi_disk/files | |
parent | 6b5efb2033b569f86554ba6ea6480809391427ab (diff) | |
download | FreeBSD-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.bin | 19 |
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") |