mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: add another missing symlink
This commit is contained in:
@@ -875,6 +875,7 @@ fi
|
|||||||
npm link "${api_base_directory}" --force
|
npm link "${api_base_directory}" --force
|
||||||
# Create symlink to unraid-api binary (to allow usage elsewhere)
|
# Create symlink to unraid-api binary (to allow usage elsewhere)
|
||||||
ln -sf /usr/local/bin/unraid-api /usr/local/sbin/unraid-api
|
ln -sf /usr/local/bin/unraid-api /usr/local/sbin/unraid-api
|
||||||
|
ln -sf /usr/local/bin/unraid-api /usr/bin/unraid-api
|
||||||
# bail if expected file does not exist
|
# bail if expected file does not exist
|
||||||
[[ ! -f "${api_base_directory}/package.json" ]] && echo "unraid-api install failed" && exit 1
|
[[ ! -f "${api_base_directory}/package.json" ]] && echo "unraid-api install failed" && exit 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user