diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-22 12:34:03 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-22 12:34:03 -0500 |
commit | 908b7c065638f1431cffbedf4dd3fe77bf8816cc (patch) | |
tree | f126ea2d4849cefadc8af2ab7a7012944bdc9799 /libre/xmms2/install.sh | |
parent | 388247147d50b30ad39c7716d1d815f1439c1d9b (diff) |
xmms2: add new package to [libre]
Diffstat (limited to 'libre/xmms2/install.sh')
-rw-r--r-- | libre/xmms2/install.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libre/xmms2/install.sh b/libre/xmms2/install.sh new file mode 100644 index 000000000..ca4e13f14 --- /dev/null +++ b/libre/xmms2/install.sh @@ -0,0 +1,10 @@ +post_install() { + getent group xmms2 > /dev/null || groupadd -r -g 46 xmms2 + getent passwd xmms2 > /dev/null || useradd -r -u 46 -g xmms2 -d /var/lib/xmms2 -s /bin/false -G audio xmms2 + usr/bin/systemd-tmpfiles --create xmms2.conf + true +} + +post_upgrade() { + post_install +}
\ No newline at end of file |