Skip to content

Commit

Permalink
Revert "fix: fix permission"
Browse files Browse the repository at this point in the history
This reverts commit 96252a2.
  • Loading branch information
eitsupi committed May 12, 2024
1 parent 96252a2 commit 633a5bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/r-dependent-packages/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,10 @@ install_pak "${PAK_VERSION}"

# Replace the target lifecycle script
echo "Set the lifecycle script for '${WHEN}'..."
target_script="${LIFECYCLE_SCRIPTS_DIR}/${WHEN,,}.sh"
sed \
-e "s|@ROOT@|${ROOT}|" \
-e "s|@REPOS@|${ADDITIONAL_REPOSITORIES}|" \
-e "s|@DEPS@|${DEPENDENCIES}|" \
lifecycle_script.sh >"${target_script}"
chmod +x "${target_script}"
lifecycle_script.sh >"${LIFECYCLE_SCRIPTS_DIR}/${WHEN,,}.sh"

echo "Done!"

0 comments on commit 633a5bb

Please sign in to comment.