mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-19 19:04:23 +01:00
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:
parent
0f9bbe3264
commit
d6c3c91388
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue