Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Oskar Roesler
ros-aur-helpers
Commits
b1fb1e69
Verified
Commit
b1fb1e69
authored
Dec 03, 2020
by
Oskar Roesler
Browse files
Only run sed if file exists
parent
923d5ef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
aurci/general.py
aurci/general.py
+2
-1
No files found.
aurci/general.py
View file @
b1fb1e69
...
...
@@ -28,7 +28,8 @@ class Routines:
return
config
def
delete_package_line
(
self
,
file
):
sed
.
rmlinematch
(
self
.
package
,
file
)
if
os
.
path
.
isfile
(
file
):
sed
.
rmlinematch
(
self
.
package
,
file
)
@
staticmethod
def
build_metainfo_dict
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment