Simplifies install and import scripts.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/files.sh"
|
||||
source "$SCRIPT_DIR/install_files"
|
||||
|
||||
cd "$SCRIPT_DIR" || exit 1
|
||||
|
||||
for file in "${FILES[@]}"; do
|
||||
for file in "${IMPORT_FILES[@]}"; do
|
||||
if [ -e "../$file" ] || [ -L "../$file" ]; then
|
||||
cp -r "../$file" ./
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user