usar /home/suttier como HOME

se mueve la carpeta vieja de HOME automáticamente
This commit is contained in:
void 2021-04-28 18:16:30 +00:00
parent 9eec5d00f6
commit 47dbae2d9c

View file

@ -16,10 +16,14 @@ function correr() {
# Necesitamos bubblewrap # Necesitamos bubblewrap
type bwrap >/dev/null || exit 1 type bwrap >/dev/null || exit 1
mkdir -p $ENTORNO/home
# migrar de versiones anteriores de hainish
test -d $ENTORNO$HOME && mv $ENTORNO$HOME $ENTORNO/home/suttier
env -i \ env -i \
TERM="$TERM" \ TERM="$TERM" \
USER="$USER" \ USER="$USER" \
HOME="$HOME" \ HOME="/home/suttier" \
RAILS_ENV=development \ RAILS_ENV=development \
bwrap \ bwrap \
--unshare-user-try \ --unshare-user-try \