Skip to content

Commit

Permalink
Merge pull request #4410 from esl/fix-package-warning
Browse files Browse the repository at this point in the history
Don't create /usr/lib/mongooseim, because it already exists
  • Loading branch information
jacekwegr authored Dec 9, 2024
2 parents cf2de15 + 6ed3109 commit b344d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/pkg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ done
builder_image="erlangsolutions/erlang:${platform}-${erlang_version}"
target_image="${platform/-/:}"
docker build -t mongooseim-${platform}:${version}-${revision} \
--progress=plain \
--build-arg builder_image=${builder_image} \
--build-arg target_image=${target_image} \
--build-arg version=${version} \
Expand Down
2 changes: 1 addition & 1 deletion tools/pkg/scripts/deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ setup()

case "$1" in
configure)
useradd --system --shell /bin/sh --home-dir $PKG_ROOT --create-home $NAME
useradd --system --shell /bin/sh --home-dir $PKG_ROOT $NAME
setup "$@"
;;

Expand Down

0 comments on commit b344d90

Please sign in to comment.