forked from mirrored-repos/manjaro-tools
[util-iso-image] fix https://github.com/manjaro/manjaro-tools/issues/210
This commit is contained in:
parent
1997440c29
commit
eccbd743b1
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ configure_accountsservice(){
|
||||||
if [ -d "${path}" ] ; then
|
if [ -d "${path}" ] ; then
|
||||||
echo "[User]" > ${path}/$2
|
echo "[User]" > ${path}/$2
|
||||||
echo "XSession=${default_desktop_file}" >> ${path}/$2
|
echo "XSession=${default_desktop_file}" >> ${path}/$2
|
||||||
echo "Icon=/var/lib/AccountsService/icons/$2.png" >> ${path}/$2
|
if [[ -f "/var/lib/AccountsService/icons/$2.png" ]];then
|
||||||
|
echo "Icon=/var/lib/AccountsService/icons/$2.png" >> ${path}/$2
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue