mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05: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 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
|
||||
do
|
||||
|
|
Loading…
Reference in a new issue