update welcome.rb

This commit is contained in:
deepend 2020-04-15 14:08:43 -06:00
parent 2d73fb6ca7
commit 0f9c4f2cac
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,6 @@ PREFIX ?= /usr/local
install: install:
$(info installing welcome to $(PREFIX)) $(info installing welcome to $(PREFIX))
@install -m 755 welcome.rb $(PREFIX)/bin/welcome @install -m 755 welcome.rb $(PREFIX)/bin/firstlogin
.PHONY: install .PHONY: install

View File

@ -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 "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 "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)" 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 if enable_byobu
exec "byobu" exec "byobu"
end end