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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

vrothberg
Copy link

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

Signed-off-by: Valentin Rothberg <[email protected]>

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

Signed-off-by: Valentin Rothberg <[email protected]>
Signed-off-by: Valentin Rothberg <[email protected]>
Broken out of PR fedora-sysv#135.  Work can be continued/picked up at a later point
in time.

Signed-off-by: Valentin Rothberg <[email protected]>
#!/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.
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.

None yet

1 participant