wikiman: 2.13.2 -> 2.14.1 (#408203)

This commit is contained in:
Austin Horstman
2025-05-18 22:17:51 -05:00
committed by GitHub
2 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -1,8 +1,8 @@
diff --git a/wikiman.sh b/wikiman.sh
index 89a436e..adc6510 100755
index 994c0b7..49bfc4b 100755
--- a/wikiman.sh
+++ b/wikiman.sh
@@ -46,38 +46,7 @@ if printenv WIKIMAN_TUI_PREVIEW >/dev/null; then
@@ -50,38 +50,7 @@ if printenv WIKIMAN_TUI_PREVIEW >/dev/null; then
fi
init() {
@@ -22,23 +22,23 @@ index 89a436e..adc6510 100755
- *)
- case "$(dirname "$(command -v wikiman)")" in
- "$HOME/bin"|"$HOME/.local/bin")
- echo 'warning: unsupported installation path, using fallback for user install' 1>&2;
- >&2 echo 'warning: unsupported installation path, using fallback for user install' ;
- conf_sys_usr="$HOME/.local/share";
- conf_sys_etc="${XDG_CONFIG_HOME:-"$HOME/.config"}/wikiman";;
- '/bin'|'/sbin'|'/usr/bin'|'/usr/sbin')
- echo 'warning: unsupported installation path, using fallback for Linux' 1>&2;
- >&2 echo 'warning: unsupported installation path, using fallback for Linux' ;
- conf_sys_usr='/usr';
- conf_sys_etc='/etc';;
- '/usr/local/bin'|'/usr/local/sbin')
- echo 'warning: unsupported installation path, using fallback for BSD' 1>&2;
- >&2 echo 'warning: unsupported installation path, using fallback for BSD' ;
- conf_sys_usr='/usr/local';
- conf_sys_etc='/usr/local/etc';;
- *)
- echo 'error: unsupported installation path - failed to establish fallback' 1>&2;
- >&2 echo 'error: unsupported installation path - failed to establish fallback' ;
- exit 5;;
- esac;;
- esac
+ conf_sys_etc="/etc/xdg/wikiman/wikiman.conf"
+ conf_sys_etc="/etc"
export conf_sys_usr
export conf_sys_etc
+2 -2
View File
@@ -15,13 +15,13 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "wikiman";
version = "2.13.2";
version = "2.14.1";
src = fetchFromGitHub {
owner = "filiparag";
repo = "wikiman";
tag = finalAttrs.version;
hash = "sha256-gk/9PVIRw9OQrdCSS+LcniXDYNcHUQUxZ2XGQCwpHaI=";
hash = "sha256-EvYMUHKFJhSFyoW85EEzI7q5OMGGe9c+A2JlkAoxt3o=";
};
patches = [ ./fix-paths.patch ];