From fa9d139949f0d5e73617593af9a3f569e3216fa0 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 16 Nov 2013 12:44:21 +0100 Subject: Modernize to use $() instead of ``. --- adduser.local | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adduser.local b/adduser.local index eca4084..04b1125 100755 --- a/adduser.local +++ b/adduser.local @@ -92,19 +92,19 @@ if [ -z "$profile_aux" ] && [ -n "$VERBOSE" ] && [ "$VERBOSE" -gt 0 ] && [ -x /u fi # Mailing lists -maildomain="`maildomain`" +maildomain="$(maildomain)" if [ -z "$profile_aux" ] && [ -n "$VERBOSE" ] && [ "$VERBOSE" -gt 0 ] && [ -n "$maildomain" ]; then echo -n "Subscribe $NEWUSERNAME@$maildomain to mailinglists (y/N)? " read subscribe case $subscribe in y|Y) - fullname="`fullname`" + fullname="$(fullname)" if [ -n "$fullname" ]; then subscriber="$fullname <$NEWUSERNAME@$maildomain>" else subscriber="$NEWUSERNAME@$maildomain" fi - lists="`listlists "$maildomain"`" + lists="$(listlists "$maildomain")" if [ -z "$lists" ]; then echo "No mailinglists found." fi -- cgit v1.2.3