diff --git a/Makefile b/Makefile index 1019cc2..935a6b2 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,17 @@ install: all cp ./app.desktop $(DESTDIR)/usr/local/share/applications/bitsnet.desktop echo "OK" +uninstall: + echo + echo "Removing files" + rm -f $(DESTDIR)/usr/local/lib/bitsnet/util.sh + rmdir $(DESTDIR)/usr/local/lib/bitsnet + rm -f $(DESTDIR)/usr/local/etc/bitsnetrc + rm -f $(DESTDIR)/usr/local/bin/bitsnet + rm -f $(DESTDIR)/usr/local/man/man1/bitsnet.1.gz + rm -f $(DESTDIR)/usr/local/share/applications/bitsnet.desktop + echo "OK." + # Clean the working directory .PHONY: clean diff --git a/README.md b/README.md index f8826ea..3bd936a 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,12 @@ Use terminal to issue this command: ```bitsnet``` ## How to install - Fire up a terminal and punch in these commands: -``` +```bash git clone https://github.com/OSDLabs/BitsnetLogin cd BitsnetLogin make sudo make install +make uninstall # to uninstall ``` - You can now login via terminal (`bitsnet`) or by launching the app from launcher - Run `man bitsnet` or `bitsnet -h` for help