Files
profile/install.sh

14 lines
260 B
Bash
Executable File

#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/files.sh"
cd "$SCRIPT_DIR" || exit 1
for file in "${FILES[@]}"; do
if [ -e "./$file" ] || [ -L "./$file" ]; then
cp -r "./$file" ../
fi
done