From c5b7c90bafed7ec4f196c10e0d46ca8a241c4216 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Sep 2016 08:12:51 +0200 Subject: glpi: rename --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6a2473a..4347490 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit