Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add post install hooks #160

Open
adrelanos opened this issue Jan 7, 2015 · 3 comments
Open

add post install hooks #160

adrelanos opened this issue Jan 7, 2015 · 3 comments

Comments

@adrelanos
Copy link

As a distribution (and possibly for others) it's useful to run some post install scripts after installing Tor Browser. Examples:

  • We create a ~/Downloads folder.
  • We disable Tor Browser's internal updater, because it's not as secure yet.
  • Possibly in future more such as changing browser homepage.

Could you add a feature please to execute a /etc/tl/post-install (or so) script please?

@micahflee micahflee added this to the 0.2.2 milestone Nov 6, 2015
@micahflee
Copy link
Collaborator

Good idea.

@micahflee micahflee modified the milestones: 0.2.3, 0.2.2 Nov 9, 2015
@micahflee micahflee modified the milestones: 0.2.3, 0.2.4 Mar 1, 2016
@micahflee micahflee modified the milestones: 0.2.4, 0.2.5 Mar 13, 2016
@micahflee micahflee modified the milestones: 0.2.6, 0.2.5 Jul 8, 2016
@micahflee
Copy link
Collaborator

I'm pushing this to 0.2.6 because I want to flesh out the feature a bit more first.

Do you think it makes sense to add a setting that lets the user specify a path to execute after successfully installing, but before launching? This way you could bundle an appropriate settings.json with your distro. Are there any problems with this approach?

@adrelanos
Copy link
Author

Not that I know. Was just looking at this from the Whonix distribution packager viewpoint back then when I wrote this ticket.

An improvement would be /etc/tl-post.d where one drop scripts. I.e. all executable files matching /etc/tl-post.d/*.sh would be executed.

@micahflee micahflee removed this from the 0.2.6 milestone Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants