added tag update to lalis repository config
This commit is contained in:
parent
3f7e47d0b0
commit
bec955fa32
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user