Subversion Repositories ALCASAR

Rev

Rev 2939 | Rev 2956 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 2939 Rev 2941
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 2939 2021-04-07 22:20:08Z rexy $
2
# $Id: alcasar-uninstall.sh 2941 2021-04-12 17:21:42Z rexy $
3
 
3
 
4
# alcasar-uninstall.sh
4
# alcasar-uninstall.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
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 416... Line 416...
416
	sleep 1
416
	sleep 1
417
fi
417
fi
418
 
418
 
419
# Reset "skip.list" (we keep "kernel" in order not to download kernel we don't want to have)
419
# Reset "skip.list" (we keep "kernel" in order not to download kernel we don't want to have)
420
echo "/^kernel/" > /etc/urpmi/skip.list
420
echo "/^kernel/" > /etc/urpmi/skip.list
-
 
421
$SED "/^exclude/d" /etc/dnf/dnf.conf
421
 
422
 
422
# Cleaning (remove all "old" alcasar scripts)
423
# Cleaning (remove all "old" alcasar scripts)
423
echo -en "\n- End of cleaning ...\n"
424
echo -en "\n- End of cleaning ...\n"
424
for rm_fic in /usr/local/bin /usr/local/etc /usr/local/sbin
425
for rm_fic in /usr/local/bin /usr/local/etc /usr/local/sbin
425
do
426
do