[scripts] uniform ". /etc/profile" usage
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/sbin/env-update
|
||||
. /etc/profile
|
||||
|
||||
# create /proc if it doesn't exist
|
||||
# rsync doesn't copy it
|
||||
if [ ! -d "/proc" ]; then
|
||||
@@ -19,9 +22,6 @@ rm -rf /root
|
||||
cp /etc/skel /root -Rap
|
||||
chown root:root /root -R
|
||||
|
||||
/usr/sbin/env-update
|
||||
. /etc/profile
|
||||
|
||||
# Setup locale to en_US
|
||||
echo LANG=\"en_US.UTF-8\" > /etc/env.d/02locale
|
||||
echo LANGUAGE=\"en_US.UTF-8\" >> /etc/env.d/02locale
|
||||
|
||||
Reference in New Issue
Block a user