diff --git a/rpms/awips2.core/Installer.postgres/scripts/profile.d/awips2PSQL.sh b/rpms/awips2.core/Installer.postgres/scripts/profile.d/awips2PSQL.sh index 74b4883996..abcad4c049 100644 --- a/rpms/awips2.core/Installer.postgres/scripts/profile.d/awips2PSQL.sh +++ b/rpms/awips2.core/Installer.postgres/scripts/profile.d/awips2PSQL.sh @@ -1,5 +1,7 @@ #!/bin/bash - +if [[ $USER != "awips" && $USER != 'root' ]]; then + return +fi # Is awips2-psql Installed? rpm -q awips2-psql > /dev/null 2>&1 RC=$?