OutsideIT / FireMotD

:fire: Fire Framework Linux MoTD Generator :fire:
https://outsideit.net/firemotd
GNU General Public License v3.0
175 stars 45 forks source link

Update Option #78

Closed willemdh closed 6 years ago

willemdh commented 7 years ago

I was thinking of adding an auto update option. Sth like

sudo ./FireMotD --Update

ThomDietrich commented 7 years ago

Could you elaborate on "auto update"?

willemdh commented 7 years ago

Well it needs to be triggered of course :) (by whatever automation tool / cronjob etc) But it would

ThomDietrich commented 7 years ago

Ah... I see. Well I do this via git. Yes, not everyone uses the git way of setting FireMotD up.

How about a dedicated script to initially install and later update FireMotD? Would decouple the installation from execution and would ease setup while at it.

To install or upgrade FireMotD on your system execute:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/willemdh/FireMotD/master/install.sh)"
willemdh commented 7 years ago

Also good for me :) Do you have something that works already?

ThomDietrich commented 7 years ago

My process is based on git. I'd not recommended that for others as git is not installed by default... Hence the answer is sadly no. Sorry

willemdh commented 7 years ago

ok i'll put it on my to do

willemdh commented 6 years ago

@ThomDietrich Check https://github.com/orgs/OutsideIT/teams/firemotd/discussions/4

Code should be added so the required packages are installed when apt-get is used too

willemdh commented 6 years ago

Added the required code for apt packages. Closing this issue, please use:

curl -s https://raw.githubusercontent.com/OutsideIT/FireMotD/master/FireMotD -o ~/FireMotD && chmod 755 ~/FireMotD && sudo ~/FireMotD -I -d