2021-06-30 00:11:24 -04:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-12-12 14:40:09 -05:00
|
|
|
for dir in etc
|
|
|
|
do
|
|
|
|
mkdir -p "$1/$dir"
|
|
|
|
cp -r system/$dir/* "$1/$dir"
|
|
|
|
done
|
2021-06-30 00:11:24 -04:00
|
|
|
|
2021-12-12 14:40:09 -05:00
|
|
|
for configdots in $(ls user/configdir/)
|
|
|
|
do
|
|
|
|
mkdir -p "$1/home/$USER/.config/"
|
|
|
|
mv user/configdir/$configdots "$1/home/$USER/.config/"
|
|
|
|
done
|
2021-06-30 00:11:24 -04:00
|
|
|
|
2021-12-12 14:40:09 -05:00
|
|
|
for homedots in $(ls user/homedir/*)
|
|
|
|
do
|
|
|
|
mkdir -p "$1/home/$USER/"
|
|
|
|
mv $homedots "$1/home/$USER/.$(basename $homedots)"
|
|
|
|
done
|