postinstall/mccarthy: correct ln order
authorClinton Ebadi <clinton@unknownlamer.org>
Wed, 15 Apr 2015 05:18:22 +0000 (01:18 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Wed, 15 Apr 2015 05:18:22 +0000 (01:18 -0400)
mccarthy-postinstall.sh

index 3088fe3..6b46f54 100755 (executable)
@@ -22,7 +22,7 @@ set -x
 # pts user can be replaced.
 sudo su -c "cat /etc/adduser.conf | sed -e 's/^FIRST_SYSTEM_UID=.*/FIRST_SYSTEM_UID=110/' -e 's/^FIRST_SYSTEM_GID=.*/FIRST_SYSTEM_GID=110/' > /etc/adduser.conf.hcoop"
 sudo mv /etc/adduser.conf /etc/adduser.conf.hcoop-orig
 # pts user can be replaced.
 sudo su -c "cat /etc/adduser.conf | sed -e 's/^FIRST_SYSTEM_UID=.*/FIRST_SYSTEM_UID=110/' -e 's/^FIRST_SYSTEM_GID=.*/FIRST_SYSTEM_GID=110/' > /etc/adduser.conf.hcoop"
 sudo mv /etc/adduser.conf /etc/adduser.conf.hcoop-orig
-sudo ln -s /etc/adduser.conf /etc/adduser.conf.hcoop 
+sudo ln -s /etc/adduser.conf.hcoop /etc/adduser.conf
 
 sudo apt-get install hcoop-admin-common-config
 
 
 sudo apt-get install hcoop-admin-common-config