initial commit
This commit is contained in:
16
install.sh
Executable file
16
install.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
root="root"
|
||||
|
||||
all_files() {
|
||||
find $root -type f,l
|
||||
}
|
||||
|
||||
for f in $(all_files)
|
||||
do
|
||||
install_path="${f#"$root"}"
|
||||
mkdir -p "$(dirname "$install_path")"
|
||||
ln -snf "$PWD/$f" "$install_path"
|
||||
done
|
||||
|
||||
# vim: set filetype=bash:
|
Reference in New Issue
Block a user