commit 9a5174123e00e1a37404586d4a582d7a3beec8fb
parent 00e221559e104b3e7dcfeef1c9deb7b0c65114ca
Author: Chris Down <chris@chrisdown.name>
Date: Fri, 17 Feb 2017 12:06:10 -0500
Remove old version file, we now use versioned dirs
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/clipmenud b/clipmenud
@@ -3,8 +3,6 @@
major_version=3
cache_dir=/tmp/clipmenu.$major_version.$USER/
cache_file=$cache_dir/line_cache
-version=2.0.0
-version_file=$cache_dir/version
get_first_line() {
# Args:
@@ -47,10 +45,6 @@ debug() {
# shellcheck disable=SC2174
mkdir -p -m0700 "$cache_dir"
-# We currently don't do anything with this, but in future we can use this
-# version for the fabled clipmenu-fsck, or other migration logic.
-printf '%s\n' "$version" > "$version_file"
-
declare -A last_data
declare -A last_filename