Try to ensure PUBLIC_TAG stays under 31 chars

This commit is contained in:
Martin Wimpress 2021-10-09 15:42:42 +01:00
parent 6bc4c6202a
commit fe86d970ec
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ if command -v xdg-user-dir &>/dev/null; then
if [ ! -d "${PUBLIC}" ]; then
mkdir -p "${PUBLIC}"
fi
PUBLIC_TAG=$(basename ${PUBLIC})-${USER,,}
PUBLIC_TAG="Public-${USER,,}"
# shellcheck disable=SC2012
PUBLIC_PERMS=$(ls -ld "${PUBLIC}" | cut -d' ' -f1)
else