Finalize data directory migration
This commit is contained in:
parent
5c4a254dd3
commit
75dd29e52d
8
cv
8
cv
@ -12,13 +12,7 @@ show(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
data="$HOME/Documents/cv"
|
data="$HOME/Documents/cv"
|
||||||
|
[ ! -d "$data" ] && ex "mkdir -p $data"
|
||||||
if [ ! -d "$data" ]
|
|
||||||
then
|
|
||||||
ex "mkdir -p $data"
|
|
||||||
# This is just for migration. Remove afterwards.
|
|
||||||
ex "mv /tmp/cv/* $data/ -v"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If not set by an environment variable, set country to $1.
|
# If not set by an environment variable, set country to $1.
|
||||||
if [ -z "$country" ]
|
if [ -z "$country" ]
|
||||||
|
Reference in New Issue
Block a user