From 3264187419abc0e3c6c1519af55223be5702c9e8 Mon Sep 17 00:00:00 2001 From: Shawn Weeks Date: Mon, 26 Sep 2022 15:04:36 -0500 Subject: [PATCH] Set RPM Upgrade Flag (#5588) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index aad80dd4e..6e6990f38 100755 --- a/install.sh +++ b/install.sh @@ -364,7 +364,7 @@ install_rpm() { fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$ARCH.rpm" \ "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm" - sudo_sh_c rpm -i "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm" + sudo_sh_c rpm -U "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm" echo_systemd_postinstall rpm }