Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ Source: midiminder
Section: sound
Priority: optional
Maintainer: John Horigan <john@glyphic.com>
Build-Depends: debhelper-compat (= 13), libasound2-dev, libfmt-dev, libicu-dev
Build-Depends: debhelper-compat (= 13), dh-sequence-installsysusers, libasound2-dev, libfmt-dev, libicu-dev
Standards-Version: 4.7.0
Homepage: https://github.com/mzero/midiminder
Rules-Requires-Root: no

Package: midiminder
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}, adduser
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: MIDI connection minder & viewer
Keeps track of connections between MIDI ports (hardware & software alike).
If those connections are lost because the hardware disconnects, or the
Expand Down
1 change: 1 addition & 0 deletions debian/midiminder.sysusers
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
u! midiminder -:audio "midiminder daemon" /run/midiminder
8 changes: 0 additions & 8 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
set -e


create_service_user() {
adduser --system --home /run/midiminder --gecos "midiminder daemon" \
--no-create-home --disabled-password --ingroup audio \
--quiet midiminder || true
}

suggest_package_removal() {
if [ \
"$(dpkg-query --showformat='${db:Status-Status}' -W $1 2>/dev/null)" \
Expand Down Expand Up @@ -43,8 +37,6 @@ advise_old_rules() {
}

if [ "$1" = "configure" ]; then
create_service_user

suggest_package_removal amidiauto
stop_and_disable_service amidiauto

Expand Down