fix: add hilbish to /etc/shells (#9)

pull/11/head
devins2518 2021-03-25 11:04:42 -05:00 committed by GitHub
parent deb1bc8a5e
commit eeafd1e5cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -9,12 +9,14 @@ install:
@install -v -d "$(BINDIR)/" && install -m 0755 -v hilbish "$(BINDIR)/hilbish" @install -v -d "$(BINDIR)/" && install -m 0755 -v hilbish "$(BINDIR)/hilbish"
@mkdir -p "$(LIBDIR)" @mkdir -p "$(LIBDIR)"
@cp libs preload.lua .hilbishrc.lua "$(LIBDIR)" -r @cp libs preload.lua .hilbishrc.lua "$(LIBDIR)" -r
@echo /usr/bin/hilbish >> /etc/shells
@echo "Hilbish Installed" @echo "Hilbish Installed"
uninstall: uninstall:
@rm -vrf \ @rm -vrf \
"$(BINDIR)/hilbish" \ "$(BINDIR)/hilbish" \
"$(LIBDIR)" "$(LIBDIR)"
@sed '/\/usr\/bin\/hilbish/d' /etc/shells
@echo "Hilbish Uninstalled" @echo "Hilbish Uninstalled"
clean: clean: