mirror of
https://github.com/coastalwhite/lemurs
synced 2024-11-22 01:53:03 +00:00
Impr: Initialize XINITRC variable when not set
This commit is contained in:
parent
2823aa45c3
commit
4dc1f0ae7c
1 changed files with 6 additions and 1 deletions
|
@ -46,7 +46,12 @@ $ROOT_CMD cp -f "extra/xsetup.sh" "/etc/lemurs/xsetup.sh"
|
|||
if [ $? -ne 0 ]; then exit 1; fi
|
||||
|
||||
# Copy over default xinitrc
|
||||
if [ -f $XINITRC ]
|
||||
if [ -z "${XINITRC}" ]
|
||||
then
|
||||
XINITRC="$HOME/.xinitrc"
|
||||
fi
|
||||
|
||||
if [ -f "$XINITRC" ]
|
||||
then
|
||||
echo 'Copy over existing xinitrc'
|
||||
$ROOT_CMD cp -f "$XINITRC" "/etc/lemurs/wms/xinitrc"
|
||||
|
|
Loading…
Reference in a new issue