diff --git a/distro/contents/install b/distro/contents/install index c212e62..19ec2d1 100755 --- a/distro/contents/install +++ b/distro/contents/install @@ -187,19 +187,22 @@ fi #creating the symlink to shared and apps folder -ln -s $shared $ghnhome/lib +if [ -z "$dryrun" ]; then + ln -s $shared $ghnhome/lib -if [ "$?" != "0" ]; then - echo -e "\nFailed to create the symlink to $shared folder" - exit 1 + if [ "$?" != "0" ]; then + echo -e "\nFailed to create the symlink to $shared folder" + exit 1 + fi fi -ln -s $apps $ghnhome/apps - -if [ "$?" != "0" ]; then - echo -e "\nFailed to create the symlink to $apps folder" - exit 1 +if [ -z "$dryrun" ]; then + ln -s $apps $ghnhome/apps + + if [ "$?" != "0" ]; then + echo -e "\nFailed to create the symlink to $shared folder" + exit 1 + fi fi - echo -e "\ndone.\n"