From 1d568eecea197cb5c57ed04d8478006d4ac61887 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 22:31:57 +0000 Subject: [PATCH] Remove existing commands before installing --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6012874e..153d8125 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ install: mkdir -p ${DESTDIR}/usr/share/${APP}/utils mkdir -p ${DESTDIR}/usr/share/${APP}/avatars mkdir -p ${DESTDIR}/etc/${APP} + rm -f ${DESTDIR}/${PREFIX}/bin/${APP}-* cp -r image_build/* ${DESTDIR}/etc/${APP} cp img/backgrounds/${APP}_*.png ${DESTDIR}${PREFIX}/share cp img/avatars/* ${DESTDIR}/usr/share/${APP}/avatars