From bec955fa32bf49f026b35633ab22f3cb3645aafc Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Thu, 28 Jan 2021 20:11:19 +0100 Subject: [PATCH] added tag update to lalis repository config --- SPECS/lalis-config.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/SPECS/lalis-config.spec b/SPECS/lalis-config.spec index 5a63db9..10a0466 100644 --- a/SPECS/lalis-config.spec +++ b/SPECS/lalis-config.spec @@ -1,7 +1,7 @@ Summary: Install LALIS configuration Name: lalis-config Version: 1 -Release: %mkrel 1 +Release: %mkrel 2 License: GPLv3 Group: Tools Url: http://lalis.fr @@ -19,6 +19,12 @@ Source11: lalis-i586-source.repo Source12: lalis-x86_64.repo Source13: lalis-x86_64-source.repo Obsoletes: task-lalis-minimal < 5.6 +Requires: openssh-server +Requires: lsb-release +Requires: lsb-lib64 +Requires: wpa_supplicant +Requires: ssmtp +Requires: tigervnc-server %description Configure for lalis tools @@ -146,7 +152,7 @@ MGAVERSION=${U##*.mga} echo "ajout du miroir Lalis" 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/$MGAVERSION/x86_64/media/core {\n}" >>/etc/urpmi/urpmi.cfg + echo -e "\nlalis rsync://lalis69.ddns.net:10073/mageia/lalis/$MGAVERSION/x86_64/media/core {\nupdate\n}" >>/etc/urpmi/urpmi.cfg echo "urpmi.update lalis" | at now +1 minutes fi