2021-02-20 04:29:49 +09:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -uex -o pipefail
|
|
|
|
|
|
|
|
SRC=$1
|
|
|
|
DST=$2
|
|
|
|
|
|
|
|
install -g root -o root -m 0644 $SRC/etc/motd $DST/etc/motd
|
2022-11-23 23:00:06 +09:00
|
|
|
install -g root -o root -m 0440 $SRC/etc/sudoers $DST/etc/sudoers
|
2021-03-22 20:14:04 +09:00
|
|
|
|
|
|
|
install -g root -o root -m 0644 $SRC/etc/X11/xorg.conf $DST/etc/X11/xorg.conf
|
|
|
|
install -g root -o root -m 0644 $SRC/etc/X11/Xsession.d/96calibrate $DST/etc/X11/Xsession.d/96calibrate
|
|
|
|
|
|
|
|
install -g root -o root -m 0644 -D $SRC/etc/xdg/weston/weston.ini $DST/etc/xdg/weston/weston.ini
|
|
|
|
|
2022-02-27 22:49:06 +09:00
|
|
|
install -g 1000 -o 1000 -m 0644 $SRC/home/user/.xprofile $DST/home/user/.xprofile
|
|
|
|
sudo -u#1000 -g#1000 mkdir -p $DST/home/user/.config/fcitx
|
|
|
|
install -g 1000 -o 1000 -m 0644 $SRC/home/user/.config/fcitx/profile $DST/home/user/.config/fcitx/profile
|
|
|
|
sudo -u#1000 -g#1000 mkdir -p $DST/home/user/lxterminal
|
|
|
|
install -g 1000 -o 1000 -m 0644 $SRC/home/user/lxterminal/lxterminal.conf $DST/home/user/lxterminal/lxterminal.conf
|
2021-03-22 20:14:04 +09:00
|
|
|
install -g root -o root -m 0644 -D $SRC/etc/jwm/system.jwmrc $DST/etc/jwm/system.jwmrc
|