Subversion Repositories ALCASAR

Rev

Rev 2226 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2226 Rev 2227
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-urpmi.sh 2226 2017-05-14 16:59:46Z richard $
2
# $Id: alcasar-urpmi.sh 2227 2017-05-14 17:28: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
rm_rpm="shorewall mandi avahi mageia-gfxboot-theme privoxy cpupower squid gamin"
217
rm_rpm="shorewall mandi avahi mageia-gfxboot-theme cpupower privoxy squid gamin"
-
 
218
/usr/sbin/urpme --auto -a $rm_rpm
218
/usr/sbin/urpme --auto $rm_rpm --auto-orphans 2>/dev/null
219
/usr/sbin/urpme --auto-orphans
219
 
220
 
220
# Save chilli launch script (erase with new rpm one)
221
# Save chilli launch script (erase with new rpm one)
221
[ -e /etc/chilli.conf ] && cp /etc/chilli.conf /tmp/
222
[ -e /etc/chilli.conf ] && cp /etc/chilli.conf /tmp/
222
# Install home made RPMs
223
# Install home made RPMs
223
urpmi --no-verify --auto rpms/$ARCH/*.rpm
224
urpmi --no-verify --auto rpms/$ARCH/*.rpm