Skip to content

Commit

Permalink
cp command to follow symlink for systemctl (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshzarkar9 authored Apr 12, 2024
1 parent 760f2bf commit e7dd9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "common-utils",
"version": "2.4.2",
"version": "2.4.3",
"name": "Common Utilities",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/common-utils",
"description": "Installs a set of common command line utilities, Oh My Zsh!, and sets up a non-root user.",
Expand Down
2 changes: 1 addition & 1 deletion src/common-utils/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ chmod +rx /usr/local/bin/code

# systemctl shim for Debian/Ubuntu - tells people to use 'service' if systemd is not running
if [ "${ADJUSTED_ID}" = "debian" ]; then
cp -f "${FEATURE_DIR}/bin/systemctl" /usr/local/bin/systemctl
cp -fL "${FEATURE_DIR}/bin/systemctl" /usr/local/bin/systemctl
chmod +rx /usr/local/bin/systemctl
fi

Expand Down

0 comments on commit e7dd9fa

Please sign in to comment.