remove rpm
This commit is contained in:
@@ -22,4 +22,12 @@ if 'deb' in targets:
|
|||||||
print('Removed deb target from $PACKAGE_JSON.')
|
print('Removed deb target from $PACKAGE_JSON.')
|
||||||
else:
|
else:
|
||||||
print('No deb target found, nothing to do.')
|
print('No deb target found, nothing to do.')
|
||||||
|
if 'rpm' in targets:
|
||||||
|
targets.remove('rpm')
|
||||||
|
data['build']['linux']['target'] = targets
|
||||||
|
with open('$PACKAGE_JSON', 'w') as f:
|
||||||
|
json.dump(data, f, indent=2)
|
||||||
|
print('Removed rpm target from $PACKAGE_JSON.')
|
||||||
|
else:
|
||||||
|
print('No rpm target found, nothing to do.')
|
||||||
"
|
"
|
||||||
Reference in New Issue
Block a user