Source /etc/profile with shell builtin

This commit is contained in:
Daniil Fedotov 2017-01-24 15:10:00 +00:00
parent 2c555fef49
commit 3edcf92ada
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ fi
chmod -R o-rwx,g-w %{_localstatedir}/lib/rabbitmq/mnesia
# Update profile to enable autocompletion
source /etc/profile
. /etc/profile
%preun
if [ $1 = 0 ]; then

View File

@ -36,7 +36,7 @@ chmod 750 /var/lib/rabbitmq/mnesia
chmod -R o-rwx,g-w /var/lib/rabbitmq/mnesia
# Update profile to enable autocompletion
source /etc/profile
. /etc/profile
case "$1" in
configure)