Cleanup __user_groups oldusermod explorer.

This commit is contained in:
Darko Poljak 2017-01-11 21:32:52 +01:00
parent 493c8d61f4
commit 86678b5beb

View file

@ -18,12 +18,4 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>. # along with cdist. If not, see <http://www.gnu.org/licenses/>.
# #
os="$($__explorer/os)" usermod --help | grep -q -- '-A group' && echo true || echo false
if [ "$os" = "netbsd" ]; then
echo netbsd
elif [ "$os" = "freebsd" ]; then
echo freebsd
else
usermod --help | grep -q -- '-A group' && echo true || echo false
fi