Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Create install.gup for system-wide install #195

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Create install.gup for system-wide install #195

wants to merge 5 commits into from

Conversation

Lesik
Copy link

@Lesik Lesik commented Jul 22, 2017

I don't use gup so I'm not sure if this is all that's required or whether something is missing.

@Lesik Lesik closed this Jul 29, 2017
@Lesik Lesik reopened this Jul 29, 2017
here="$(pwd)"
gup --always

dest="$PREFIX/usr/share/gnome-shell/extensions/[email protected]"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail if PREFIX isn't set, since I use -u in the shebang line. "${PREFIX:-}/usr/..." should work

@timbertson
Copy link
Owner

Looks OK, aside from one issue (commented). Could you change it to root-install or system-install? There is no uninstall, and I don't want people to think this is an encouraged action (I discourage system-wide installation).

@Lesik
Copy link
Author

Lesik commented Jul 29, 2017

Thanks for the feedback.

As mentioned in issue #198, there are some other problems with this gup script. The useless gup and .gup directories could be purged with a simple rm, but how would I go about the symlinks outside of the shellshape directory?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants