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

Proposal: migrate admindir #139

Closed
wants to merge 3 commits into from
Closed

Conversation

vrothberg
Copy link
Contributor

Broken out of PR #135. Work can be continued/picked up at a later point
in time.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>

The .spec stopped building, so let's remove listing dirs whos parent is
already owned by the .spec.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Broken out of PR fedora-sysv#135.  Work can be continued/picked up at a later point
in time.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
#!/usr/bin/sh

# Already symlinked, nothing to do
if [[ -L /var/lib/alternatives ]]; then

Check warning

Code scanning / shellcheck

SC3010 Warning

In POSIX sh, [[ ]] is undefined.
mkdir -p /etc/alternatives.admindir

# Migrate the contents
if [[ -d /var/lib/alternatives ]]; then

Check warning

Code scanning / shellcheck

SC3010 Warning

In POSIX sh, [[ ]] is undefined.
@dtardon
Copy link
Contributor

dtardon commented Aug 7, 2024

@lnykryn This PR can be closed, I guess...

@lnykryn lnykryn closed this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants