initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

25
xmms2/xmms2.install Normal file
View File

@@ -0,0 +1,25 @@
post_install() {
if ! getent group xmms2 &>/dev/null; then
groupadd -r -g 46 xmms2 >/dev/null
fi
if ! getent passwd xmms2 &>/dev/null; then
useradd -r -u 46 -g xmms2 -d /var/lib/xmms2 -s /bin/nologin -G audio xmms2 >/dev/null
fi
xmms2_shell=$(getent passwd xmms2 | cut -d: -f7)
if [ "$xmms2_shell" != '/bin/nologin' ]; then
chsh -s /bin/nologin xmms2 &>/dev/null
fi
}
post_upgrade() {
post_install
}
post_remove() {
if getent passwd xmms2 &>/dev/null; then
userdel xmms2 >/dev/null
fi
if getent group xmms2 &>/dev/null; then
groupdel xmms2 >/dev/null
fi
}