Subversion Repositories ALCASAR

Rev

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

Rev 3193 Rev 3200
Line 105... Line 105...
105
			exit 1
105
			exit 1
106
		fi
106
		fi
107
	fi
107
	fi
108
done
108
done
109
 
109
 
-
 
110
# Clean the RPM cache
-
 
111
urpmi --clean
-
 
112
 
110
# At this time, we only skip Kernel update
113
# At this time, we only skip Kernel update
111
echo "/^kernel/" > /etc/urpmi/skip.list
114
echo "/^kernel/" > /etc/urpmi/skip.list
112
if [ `grep -E '^exclude=' /etc/dnf/dnf.conf |wc -l` -eq "1" ]; then
115
if [ `grep -E '^exclude=' /etc/dnf/dnf.conf |wc -l` -eq "1" ]; then
113
	$SED "s?^exclude=.*?exclude=kernel\*?g" /etc/dnf/dnf.conf
116
	$SED "s?^exclude=.*?exclude=kernel\*?g" /etc/dnf/dnf.conf
114
else
117
else
Line 159... Line 162...
159
		echo "An error occurs when updating packages"
162
		echo "An error occurs when updating packages"
160
	fi
163
	fi
161
	rpm_error
164
	rpm_error
162
	exit 1
165
	exit 1
163
fi
166
fi
164
# Clean the RPM cache
-
 
165
urpmi --clean
-
 
166
 
167
 
167
# Download of ALCASAR specifics RPM in cache (and test)
168
# Download of ALCASAR specifics RPM in cache (and test)
168
if [ $Lang == "fr" ]
169
if [ $Lang == "fr" ]
169
then
170
then
170
	echo "Récupération des paquetages complémentaires. Veuillez patienter ..."
171
	echo "Récupération des paquetages complémentaires. Veuillez patienter ..."