1
0
This commit is contained in:
Daniel Tartavel 2020-04-11 10:41:39 +02:00
parent 88a981fad9
commit f4aba94c82

View File

@ -176,7 +176,7 @@ desktop()
mv -f /tmp/journald.conf /etc/systemd/
getent passwd lalis
if [ $? -ne 0 ]; then
if [ ${?} -ne 0 ]; then
adduser lalis
chmod -R o-rwX /home/lalis
passwd lalis << EOF
@ -210,7 +210,7 @@ for i in /home/*
do
USER=`basename "$i"`
getent passwd "$USER"
if [ $? -eq 0 ]; then
if [ ${?} -eq 0 ]; then
if [ -d $i ]; then
desktop "/$i"
echo $DESKTOP
@ -234,3 +234,12 @@ fi
if [ ! -e /etc/nfs.conf ]; then
systemctl disable network-up
fi
ARCH=`uname -i`
U=`uname -r`
MGAVERSION=${U##*.mga}
#adding lalis mirror
grep -q 'lalis rsync://lalis69.ddns.net:10073/mageia/lalis/' /etc/urpmi/urpmi.cfg
if [ ${?} -ne 0 ]; then
echo -e "\nlalis rsync://lalis69.ddns.net:10073/mageia/lalis/8/x86_64/media/core {\n}" >>/etc/urpmi/urpmi.cfg
urpmi.update lalis
fi