Allow ponysay to be reinstalled.

Force the linking of ponythink to ensure the makefile doesn't error if the
link already exists.
This commit is contained in:
Louis Taylor 2012-04-16 02:05:43 +01:00
parent 0f9bbe3264
commit d6c3c91388

View file

@ -2,7 +2,7 @@ install:
mkdir -p $(DESTDIR)/usr/share/ponies mkdir -p $(DESTDIR)/usr/share/ponies
cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/ cp -r ponies/*.pony $(DESTDIR)/usr/share/ponies/
install -Dm755 ponysay $(DESTDIR)/usr/bin/ponysay install -Dm755 ponysay $(DESTDIR)/usr/bin/ponysay
ln -s ponysay $(DESTDIR)/usr/bin/ponythink ln -sf ponysay $(DESTDIR)/usr/bin/ponythink
uninstall: uninstall:
rm -fr $(DESTDIR)/usr/share/ponies rm -fr $(DESTDIR)/usr/share/ponies