Move hello-redox sources to /usr/share

This commit is contained in:
bjorn3 2026-09-27 18:58:08 +02:00
parent 93a3c54b1a
commit 64052d065a

View File

@ -1,8 +1,6 @@
# Due to necessary write permission for compilation the filesystem path of source code installation is an exception
# where the package manager can't switch between system-wide and user paths
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/hello-redox"
cp -rv "${COOKBOOK_RECIPE}"/files/* "${COOKBOOK_STAGE}/home/user/hello-redox"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/hello-redox"
cp -rv "${COOKBOOK_RECIPE}"/files/* "${COOKBOOK_STAGE}/usr/share/hello-redox"
"""