From 75dd29e52db358806058d36e332eaa3b529d7261 Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Fri, 3 Jul 2020 23:40:38 +0200 Subject: [PATCH] Finalize data directory migration --- cv | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cv b/cv index 4586525..a3f639b 100755 --- a/cv +++ b/cv @@ -12,13 +12,7 @@ show(){ } data="$HOME/Documents/cv" - -if [ ! -d "$data" ] -then - ex "mkdir -p $data" - # This is just for migration. Remove afterwards. - ex "mv /tmp/cv/* $data/ -v" -fi +[ ! -d "$data" ] && ex "mkdir -p $data" # If not set by an environment variable, set country to $1. if [ -z "$country" ]