Skip to content

Commit

Permalink
build: disable dummy upstream profile in favor of ours.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Jan 12, 2025
1 parent 078b0de commit 61939a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions dists/overwrite
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ flatpak
foliate
loupe
msedge
mullvad
nautilus
opera
plasmashell
Expand Down
7 changes: 4 additions & 3 deletions pkg/prebuild/prepare/overwrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ func (p Overwrite) Apply() ([]string, error) {
if !dest.Exist() && p.OneFile {
continue
}
if err := origin.Rename(dest); err != nil {

return res, err
if origin.Exist() {
if err := origin.Rename(dest); err != nil {
return res, err
}
}
originRel, err := origin.RelFrom(dest)
if err != nil {
Expand Down

0 comments on commit 61939a3

Please sign in to comment.