Subversion Repositories ALCASAR

Rev

Rev 2221 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2221 Rev 2226
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-urpmi.sh 2221 2017-05-13 13:47:30Z richard $
2
# $Id: alcasar-urpmi.sh 2226 2017-05-14 16:59:46Z richard $
3
 
3
 
4
# alcasar-urpmi.sh
4
# alcasar-urpmi.sh
5
# by 3abtux and Rexy
5
# by 3abtux and Rexy
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 212... Line 212...
212
then
212
then
213
	echo "Cleaning the system : "
213
	echo "Cleaning the system : "
214
else
214
else
215
	echo "Nettoyage du système : "
215
	echo "Nettoyage du système : "
216
fi
216
fi
217
for rm_rpm in shorewall mandi avahi mageia-gfxboot-theme privoxy cpupower squid gamin
217
rm_rpm="shorewall mandi avahi mageia-gfxboot-theme privoxy cpupower squid gamin"
218
do
-
 
219
	/usr/sbin/urpme --auto $rm_rpm --auto-orphans 2>/dev/null
218
/usr/sbin/urpme --auto $rm_rpm --auto-orphans 2>/dev/null
220
	echo -n "."
-
 
221
done
-
 
222
 
219
 
223
# Save chilli launch script (erase with new rpm one)
220
# Save chilli launch script (erase with new rpm one)
224
[ -e /etc/chilli.conf ] && cp /etc/chilli.conf /tmp/
221
[ -e /etc/chilli.conf ] && cp /etc/chilli.conf /tmp/
225
# Install home made RPMs
222
# Install home made RPMs
226
urpmi --no-verify --auto rpms/$ARCH/*.rpm
223
urpmi --no-verify --auto rpms/$ARCH/*.rpm