fix permission issue
This commit is contained in:
parent
737f41734f
commit
19cc3dfbba
1 changed files with 6 additions and 5 deletions
11
entry.sh
11
entry.sh
|
@ -154,6 +154,8 @@ function second_stage(){
|
||||||
apt install -y gimp inkscape blender freecad kicad || true
|
apt install -y gimp inkscape blender freecad kicad || true
|
||||||
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_big_tools)
|
btrfs subvolume snapshot / /snap/$(date +%Y-%m-%d_big_tools)
|
||||||
|
|
||||||
|
rsync -a /root/unbox_data/secrets/SSH/ ~jedi/.ssh/
|
||||||
|
chown -R jedi:jedi ~jedi/
|
||||||
chsh --shell /usr/bin/zsh jedi
|
chsh --shell /usr/bin/zsh jedi
|
||||||
|
|
||||||
echo second_stage done
|
echo second_stage done
|
||||||
|
@ -166,7 +168,6 @@ function second_stage(){
|
||||||
function user_install(){
|
function user_install(){
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export HOME=~jedi/
|
|
||||||
|
|
||||||
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i/home/jedi/.ssh/id_rsa"
|
export GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i/home/jedi/.ssh/id_rsa"
|
||||||
|
|
||||||
|
@ -175,7 +176,10 @@ function user_install(){
|
||||||
dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'" || true
|
dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'" || true
|
||||||
dbus-launch dconf write /org/mate/marco/general/theme "'Materia-dark'" || true
|
dbus-launch dconf write /org/mate/marco/general/theme "'Materia-dark'" || true
|
||||||
dbus-launch dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'" || true
|
dbus-launch dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'" || true
|
||||||
dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'" || true
|
dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'" || true
|
||||||
|
|
||||||
|
|
||||||
|
export HOME=~jedi/
|
||||||
|
|
||||||
cd
|
cd
|
||||||
|
|
||||||
|
@ -183,11 +187,8 @@ function user_install(){
|
||||||
chmod 0755 $HOME/.oh-my-zsh
|
chmod 0755 $HOME/.oh-my-zsh
|
||||||
chown -R jedi:jedi $HOME
|
chown -R jedi:jedi $HOME
|
||||||
|
|
||||||
rsync -a /root/unbox_data/secrets/SSH/ /home/jedi/.ssh/
|
|
||||||
|
|
||||||
git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools
|
git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools
|
||||||
echo $?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TOOLBOX_LINK=$(wget "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true" -O - 2>/dev/null | jq -r ".TBA[0].downloads.linux.link")
|
TOOLBOX_LINK=$(wget "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true" -O - 2>/dev/null | jq -r ".TBA[0].downloads.linux.link")
|
||||||
|
|
Loading…
Reference in a new issue