Skip to content

Commit

Permalink
dont do alt links relative to the host fs
Browse files Browse the repository at this point in the history
  • Loading branch information
niaow committed Nov 14, 2017
1 parent 3f9a002 commit 7539de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alternative.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ update() {
if [ -z "$target" ]; then
fail "Nothing to provide!" 2
fi
ln -sfn "$ALTD/$provider.provider" "$ROOTFS/$target" || fail "Failed to update link $target" 2
ln -sfn "/etc/lpkg.d/alt.d/$1/$provider.provider" "$ROOTFS/$target" || fail "Failed to update link $target" 2
}

# User command to manually override a provider
Expand Down

0 comments on commit 7539de5

Please sign in to comment.