Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75205f5 commit 10dc9e3Copy full SHA for 10dc9e3
install.sh
@@ -329,7 +329,7 @@ install_deb() {
329
330
fetch "https://github.com/coder/coder/releases/download/v$VERSION/coder_${VERSION}_${OS}_${ARCH}.deb" \
331
"$CACHE_DIR/coder_${VERSION}_$ARCH.deb"
332
- sudo_sh_c dpkg -i "$CACHE_DIR/coder_${VERSION}_$ARCH.deb"
+ sudo_sh_c dpkg --force-confdef --force-confold -i "$CACHE_DIR/coder_${VERSION}_$ARCH.deb"
333
334
echo_systemd_postinstall deb
335
}
preinstall.sh
@@ -6,6 +6,7 @@ USER="coder"
6
# Add a Coder user to run as in systemd.
7
if ! id -u $USER >/dev/null 2>&1; then
8
useradd \
9
+ --create-home \
10
--system \
11
--user-group \
12
--shell /bin/false \
0 commit comments