summaryrefslogtreecommitdiffstats
path: root/clerk_fzf/clerk_update
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-07-21 14:12:25 +0200
committerRasmus Steinke <rasi@xssn.at>2016-07-21 14:12:25 +0200
commit12afcb06bc728453280fece3b1a417c9ac5dc766 (patch)
tree6ff2a9d1b94f895f6a75be48a9982f499b35c12a /clerk_fzf/clerk_update
parent184352430338acd897f214e5fffa3a7d1a99ae34 (diff)
downloadperl-app-clerk-12afcb06bc728453280fece3b1a417c9ac5dc766.tar.gz
perl-app-clerk-12afcb06bc728453280fece3b1a417c9ac5dc766.tar.xz
fix re-creation of caches
Diffstat (limited to 'clerk_fzf/clerk_update')
-rwxr-xr-xclerk_fzf/clerk_update2
1 files changed, 2 insertions, 0 deletions
diff --git a/clerk_fzf/clerk_update b/clerk_fzf/clerk_update
index 8466b45..2e551c9 100755
--- a/clerk_fzf/clerk_update
+++ b/clerk_fzf/clerk_update
@@ -3,6 +3,7 @@
TMUX_TMPDIR="/tmp/clerk/tmux"
screen=$(tmux list-panes -F "#W")
+
if [[ $1 == "--create-caches" ]]; then
tmux new-session -s notify -n 'Updating Cache Files. Please wait a moment' -d
tmux switchc -t notify
@@ -26,6 +27,7 @@ tmux rename-session -t music2 music
tmux switchc -t music
tmux findw -t music ${screen}
tmux kill-session -t music_old
+
if [[ $1 == "--create-caches" ]]; then
tmux kill-session -t notify
fi