diff options
| author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-21 17:11:04 +0300 |
|---|---|---|
| committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-03-21 17:11:04 +0300 |
| commit | 9e9bc5223c49bc51dbfd266f5dc89f2874016622 (patch) | |
| tree | 0441be92acc63548aafba164c2d4cf196aed995e | |
| parent | a084a8ec3ec12e91c3897dc6b805636be6d36527 (diff) | |
| download | meson-9e9bc5223c49bc51dbfd266f5dc89f2874016622.tar.gz | |
install: install rpm macros if RPM bin in system. Closes #56
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
| -rwxr-xr-x | install_meson.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install_meson.py b/install_meson.py index 616b635af..2c1304698 100755 --- a/install_meson.py +++ b/install_meson.py @@ -107,7 +107,7 @@ if os.path.exists(module_dir): shutil.rmtree(module_dir) shutil.copytree('modules', module_dir) -if os.path.exists(os.path.join('/usr', rpmmacros_dir)): +if os.path.exists('/usr/bin/rpm'): print('Installing RPM macros to %s.' % rpmmacros_dir) outfilename = os.path.join(rpmmacros_dir, 'macros.meson') os.makedirs(rpmmacros_dir, exist_ok=True) |
