Skip to content

Commit 3264187

Browse files
authored
Set RPM Upgrade Flag (#5588)
1 parent 3256157 commit 3264187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ install_rpm() {
364364

365365
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$ARCH.rpm" \
366366
"$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
367-
sudo_sh_c rpm -i "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
367+
sudo_sh_c rpm -U "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
368368

369369
echo_systemd_postinstall rpm
370370
}

0 commit comments

Comments
 (0)