💥 fix(install): trying to copy configuration from non-existent directory

This commit is contained in:
retrozinndev
2025-08-16 21:55:34 -03:00
parent 17ef14cc84
commit cd5b527e65
+1 -5
View File
@@ -79,11 +79,7 @@ if [[ "$answer" == "y" ]] || [[ "$skip_prompts" ]]; then
echo "-> Installing $dir in $dest" echo "-> Installing $dir in $dest"
mkdir -p `dirname "$dest"` # create parents mkdir -p `dirname "$dest"` # create parents
if [[ -f "$repo_directory/$dir" ]]; then cp -rf $repo_directory/config/$dir "$dest" # copy
cp -f $repo_directory/$dir "$dest" # copy actual file
else
cp -rf $repo_directory/$dir/* "$dest" # force-copy content
fi
done done
Send_log "Building colorshell..." Send_log "Building colorshell..."