Skip to content

Commit

Permalink
Merge pull request #348 from elcajon/elcajon-p1
Browse files Browse the repository at this point in the history
Restore Changes
  • Loading branch information
elcajon authored Sep 21, 2023
2 parents 4ca0908 + 3c91e95 commit 44f7845
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.

This file was deleted.

11 changes: 4 additions & 7 deletions code-server/rootfs/etc/s6-overlay/s6-rc.d/custom-scripts/run
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@

# Check if custom config shall be used
if ! bashio::config.exists init_path; then

custom_service_path="/tmp/code-server/s6-overlay"

else

# Get user configured path for service files
custom_service_path="$(bashio::config init_path | sed 's/\/$//')/code-server/s6-overlay"
bashio::exit.ok
fi

# Get user configured path for service files
custom_service_path="$(bashio::config init_path | sed 's/\/$//')/code-server/s6-overlay"

# Check for needed directories and copy templates if necessary
if ! bashio::fs.directory_exists "${custom_service_path}" ; then
mkdir -p "${custom_service_path}"
Expand Down

0 comments on commit 44f7845

Please sign in to comment.