diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2012-03-29 23:29:28 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-03-29 23:29:28 -0400 |
commit | d4b2562673274537be82c2257b8487d4a833ef9c (patch) | |
tree | f7f85673fc55cba10e31082262aa62ec6a613d09 /desktop/dmenu/dmenu_path | |
parent | 996b93df623c097b7cce0dbb321a32b8a0ec0101 (diff) |
desktop/dmenu: Updated for version 4.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/dmenu/dmenu_path')
-rw-r--r-- | desktop/dmenu/dmenu_path | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/desktop/dmenu/dmenu_path b/desktop/dmenu/dmenu_path deleted file mode 100644 index 7896a9e957fa1..0000000000000 --- a/desktop/dmenu/dmenu_path +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -CACHE=$HOME/.dmenu_cache -IFS=: - -uptodate() { - test -f "$CACHE" && - for dir in $PATH - do - test ! $dir -nt "$CACHE" || return 1 - done -} - -if ! uptodate -then - for dir in $PATH - do - cd "$dir" && - for file in * - do - test -x "$file" && echo "$file" - done - done | sort | uniq > "$CACHE".$$ && - mv "$CACHE".$$ "$CACHE" -fi - -cat "$CACHE" |