blob: c7e2d1ed15f9d003d39f6fd1eb9d8e5e6c4b9cd2 (
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/$USE/$(echo $file | cut -c 4-)
install -o $USE -d $(dirname $clean)
install -o $USE $file $clean
done
|