diff --git a/Makefile b/Makefile index 6210081..c99432a 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,6 @@ PREFIX ?= /usr/local install: $(info installing welcome to $(PREFIX)) - @install -m 755 welcome.rb $(PREFIX)/bin/welcome + @install -m 755 welcome.rb $(PREFIX)/bin/firstlogin .PHONY: install diff --git a/welcome.rb b/welcome.rb index 484a4ef..7a4440b 100644 --- a/welcome.rb +++ b/welcome.rb @@ -102,8 +102,9 @@ puts puts "please come stop by chat when you get a chance by running the 'chat' command" unless enable_byobu puts "we're happy to help as needed and get you any information you're looking for" puts "have a look at our wiki: https://tilde.club/wiki/ (ctrl-click will let you open that from here)" -File.delete("#{Env.home}/.new_user") +File.delete("#{Dir.home}/.new_user") if enable_byobu exec "byobu" end +