Try to ensure PUBLIC_TAG stays under 31 chars
This commit is contained in:
parent
6bc4c6202a
commit
fe86d970ec
2
quickemu
2
quickemu
@ -864,7 +864,7 @@ if command -v xdg-user-dir &>/dev/null; then
|
|||||||
if [ ! -d "${PUBLIC}" ]; then
|
if [ ! -d "${PUBLIC}" ]; then
|
||||||
mkdir -p "${PUBLIC}"
|
mkdir -p "${PUBLIC}"
|
||||||
fi
|
fi
|
||||||
PUBLIC_TAG=$(basename ${PUBLIC})-${USER,,}
|
PUBLIC_TAG="Public-${USER,,}"
|
||||||
# shellcheck disable=SC2012
|
# shellcheck disable=SC2012
|
||||||
PUBLIC_PERMS=$(ls -ld "${PUBLIC}" | cut -d' ' -f1)
|
PUBLIC_PERMS=$(ls -ld "${PUBLIC}" | cut -d' ' -f1)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user