Fix install script and add useful generic data

This commit is contained in:
2026-09-21 09:32:56 +02:00
parent 397d2de94f
commit d61faf2e71
2 changed files with 168 additions and 3 deletions
+4 -3
View File
@@ -67,9 +67,9 @@ rm -rf "${LIBDIR}/yms/ui"
# Static resources
install -d "${SHAREDIR}"
install -d "${SHAREDIR}/ui"
install -m 0644 \
"${SOURCEDIR}/yms/ui/main.ui" \
"${SHAREDIR}/ui/main.ui"
cp -a \
"${SOURCEDIR}/yms/ui/." \
"${SHAREDIR}/ui/"
cp -a \
"${SOURCEDIR}/shapes/." \
"${SHAREDIR}/shapes/"
@@ -77,6 +77,7 @@ sed "s#@PREFIX@#${PREFIX}#g" \
"${SOURCEDIR}/yms.lnk" \
> "${SHAREDIR}/yms.lnk"
chmod 0644 "${SHAREDIR}/yms.lnk"
chown -R root:root ${SHAREDIR}
# Documentation
echo "Installing documentation..."