aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vim-pack6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/vim-pack b/bin/vim-pack
index 922b45f..de66a01 100755
--- a/bin/vim-pack
+++ b/bin/vim-pack
@@ -47,6 +47,10 @@ update_package () {
}
clean () {
+ if [ ! -f $package_dirs_file ]; then
+ return
+ fi
+
while IFS= read -r line; do
package_dirs+=("$line")
done < $package_dirs_file
@@ -63,6 +67,8 @@ clean () {
fi
done
done
+
+ rm $package_dirs_file
}
install_ycm () {