We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/opt/
1 parent d495b6a commit 1137c8bCopy full SHA for 1137c8b
modules/rpm-ostree/rpm-ostree.sh
@@ -45,7 +45,7 @@ if [[ ${#OPTFIX[@]} -gt 0 ]]; then
45
echo "Creating symlinks to fix packages that install to /opt"
46
# Create symlink for /opt to /var/opt since it is not created in the image yet
47
mkdir -p "/var/opt"
48
- ln -s "/var/opt" "/opt"
+ ln -snf "/var/opt" "/opt"
49
# Create symlinks for each directory specified in recipe.yml
50
for OPTPKG in "${OPTFIX[@]}"; do
51
OPTPKG="${OPTPKG%\"}"
0 commit comments