Correct post-remove instruction

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent 2ddab731
# Maintainer: Stefano Capitani <stefanoatmanjarodotorg>
pkgname=manjaro-settings-samba
pkgver=20180509
pkgrel=2
pkgver=20190629
pkgrel=1
pkgdesc="Adds a smb.conf file for Manjaro and enables samba"
arch=('any')
url="https://github.com/manjaro/packages-extra"
......
......@@ -53,7 +53,7 @@ post_remove() {
msg "Attempting to disable Samba services..."
! systemctl is-active smb >/dev/null || systemctl disable smb
! systemctl is-active nmb >/dev/null || systemctl disable nmb
! getent group sambashare || groupadd -r sambashare
! getent group sambashare || groupdel sambashare
echo ""
msg "Samba services should now be disabled. Reboot your system."
echo ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment