diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/help2man/help2man.install | 18 | ||||
-rw-r--r-- | abs/extra/htop/htop.c.patch | 15 |
2 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/help2man/help2man.install b/abs/extra/help2man/help2man.install new file mode 100644 index 0000000..ab6585b --- /dev/null +++ b/abs/extra/help2man/help2man.install @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(help2man.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} diff --git a/abs/extra/htop/htop.c.patch b/abs/extra/htop/htop.c.patch new file mode 100644 index 0000000..41a2dd3 --- /dev/null +++ b/abs/extra/htop/htop.c.patch @@ -0,0 +1,15 @@ +From: Roman Kosenko <madkite@gmail.com> +Date: Thu, 10 Mar 2011 16:23:53 +0200 +Subject: [PATCH] Fix stupid bug with --sort-key + +--- htop.c.old 2010-11-24 20:45:38.000000000 +0200 ++++ htop.c 2011-03-10 16:32:18.473716667 +0200 +@@ -282,7 +282,7 @@ + printVersionFlag(); + break; + case 's': +- if (strcmp(optarg, "help")) { ++ if (!strcmp(optarg, "help")) { + for (int j = 1; j < LAST_PROCESSFIELD; j++) + printf ("%s\n", Process_fieldNames[j]); + exit(0); |