mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 19:35:39 +00:00
Stop deletion of patch file if it doesn't exist
This commit is contained in:
parent
23720b81ba
commit
792bff030b
|
@ -267,7 +267,9 @@ generate_single_patch() {
|
||||||
local patch_file="$3"
|
local patch_file="$3"
|
||||||
local system="$4"
|
local system="$4"
|
||||||
|
|
||||||
rm "$patch_file" # Remove old patch file (maybe change this to create a backup instead?)
|
if [[ -f "$patch_file" ]]; then
|
||||||
|
rm "$patch_file" # Remove old patch file (maybe change this to create a backup instead?)
|
||||||
|
fi
|
||||||
|
|
||||||
while read -r current_setting_line; # Look for changes from the original file to the modified one
|
while read -r current_setting_line; # Look for changes from the original file to the modified one
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue