move /home/$USERNAME to always be /home/user
continuous-integration/drone/push Build is failing

This commit is contained in:
sneak committed 2020-04-11 12:59:14 -07:00
1 parent a53143c0d0
commit 4127d1d8b1
5 files changed
+1 -7

No files matched your search

-1
View File
@@ -35,7 +35,6 @@ pip3 install black
# install vim-go
sudo \
--preserve-env=USERNAME_TO_ADD \
--set-home \
--non-interactive \
-u $USERNAME_TO_ADD \
-5
View File
@@ -11,11 +11,6 @@ U="$USERNAME_TO_ADD"
# original home
OH="/hosthome"
# container home
export HOME="/home/$U"
rsync -avP /home/template/ $HOME/
# link ~/.home to original home
ln -s "/hosthome" $HOME/.home