diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-26 08:12:51 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-26 08:12:51 +0200 |
commit | c5b7c90bafed7ec4f196c10e0d46ca8a241c4216 (patch) | |
tree | de0940cd0fedd48b1a0b1734202c3e172793c780 | |
parent | b7b01f6dd5b34d10e1e139cf2923689736d6c331 (diff) |
glpi: rename
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -148,7 +148,7 @@ composer: tar xf $(shell spectool -l $(NAME).spec | head -n 1 | sed -e 's:.* ::' | sed -e 's:.*/::') --strip-components=1 '*/composer.json' devcomposer: - mv composer.json old.json && \ + if [ -f composeer.json ]; then mv composer.json old.json; fi && \ tar xf $(shell spectool -l $(NAME)-dev.spec | head -n 1 | sed -e 's:.*/::') --strip-components=1 '*/composer.json' && \ mv composer.json composer-dev.json && \ - mv old.json composer.json + if [ -f old.json ]; then mv old.json composer.json; fi |