diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-12-17 21:10:21 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-12-17 21:10:21 +0000 |
commit | 677b34cc91f7c1aed8ad899948ccaa5a20ce1a6a (patch) | |
tree | 71c1622d3b37810eb433ff2a66b8e08aed64661d /sysutils/gdesklets-sensor-psi_cpu/files | |
parent | Add gdesklets-sensor-psi_disk, a disk space monitor backend Sensor for (diff) |
Add gdesklets-sensor-psi_cpu, a CPU monitor backend Sensor for gDesklets
from the PSI project.
PR: 59829
Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'sysutils/gdesklets-sensor-psi_cpu/files')
-rw-r--r-- | sysutils/gdesklets-sensor-psi_cpu/files/patch-Install_CPU_Sensor.bin | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/gdesklets-sensor-psi_cpu/files/patch-Install_CPU_Sensor.bin b/sysutils/gdesklets-sensor-psi_cpu/files/patch-Install_CPU_Sensor.bin new file mode 100644 index 000000000000..038beaa9edbb --- /dev/null +++ b/sysutils/gdesklets-sensor-psi_cpu/files/patch-Install_CPU_Sensor.bin @@ -0,0 +1,19 @@ +--- Install_CPU_Sensor.bin.orig Wed Nov 19 18:34:09 2003 ++++ Install_CPU_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") |