mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Try --force to silence rpm errors.
This commit is contained in:
@@ -160,7 +160,7 @@ elif [ "$UNAME" = "Linux" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
echo "... installing .rpm"
|
||||
do_with_root rpm -Uvh --replacepkgs "$FILE"
|
||||
do_with_root rpm -U --force "$FILE"
|
||||
|
||||
else
|
||||
echo "Unsupported Linux distribution."
|
||||
|
||||
@@ -137,7 +137,7 @@ updater.get_manifest(function (manifest) {
|
||||
"." + rpm_arch + ".rpm";
|
||||
|
||||
download_callback = function (rpm_path) {
|
||||
var proc = run_with_root('rpm', ['-Uvh', '--replacepkgs', rpm_path]);
|
||||
var proc = run_with_root('rpm', ['-U', '--force', rpm_path]);
|
||||
proc.on('exit', function (code, signal) {
|
||||
if (code !== 0 || signal) {
|
||||
console.log("failed to install rpm");
|
||||
|
||||
Reference in New Issue
Block a user