tmp: Make templates dir hidden

This commit is contained in:
Salt 2019-11-04 23:39:46 -06:00
parent 17b2ebada2
commit e9cabb1c26

2
tmp
View File

@ -58,7 +58,7 @@ if [ -n "$1" ]; then
source "$userdirs"
fi
unset userdirs
copydir="${XDG_TEMPLATES_DIR:-~/Templates}/tmp/$1"
copydir="${XDG_TEMPLATES_DIR:-~/Templates}/.tmp/$1"
if ! [ -d "$copydir" ]; then
log "Could not find template directory \"$copydir\""
exit 3