diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-18 22:58:35 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-18 22:58:35 +0200 |
commit | 28857028608755827414d332ad4587c8da3e3896 (patch) | |
tree | 38da26e8c2a053a051cbba737133a3d781fd5db5 /bin | |
parent | 4e04b6bdc2c61d088109048564ee1474f759cab3 (diff) |
[media] use different concat_path for 'cursus'
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/menuscripts/mmedia | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/menuscripts/mmedia b/bin/menuscripts/mmedia index 5d7c4ae..d113e76 100755 --- a/bin/menuscripts/mmedia +++ b/bin/menuscripts/mmedia @@ -21,8 +21,8 @@ case "$1" in viewer() { imv "$1"; } ;; "cursus") regex='^.*/[cC]ursus/index.html$' - dirs="$HOME/docs/school" - concat_path() { cat; } + dirs="$HOME/docs/school/Vakken" + concat_path() { sed "s#$dirs/##;s#/[cC]ursus/index.html##"; } viewer() { $BROWSER "$1"; } ;; *) choice="$(cat <<-EOF | commander -d -c |