blob: c15bcc16f790b04037938861d45436abfe3a9989 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Exports config files
for file in $(find src -type f); do
export clean=$(echo $file | cut -c 4-) #Removes src prefix
install -d $(dirname $clean)
install -m 644 $file $clean
done
for file in $(find home -type f); do
export clean=/home/$USER/$(echo $file | cut -c 4-)
install -o $USER -d $(dirname $clean)
install -o $USER $file $clean
done
|