Some database improvements and associated changes in webgui

This commit is contained in:
thooge committed 2026-09-14 10:12:32 +02:00
1 parent 2250fb9743
commit 57c42d1398
23 files changed
+203 -39

No files matched your search

+7
View File
@@ -15,6 +15,13 @@ SOURCEDIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
if [ "$1" = "uninstall" ]; then
echo "Uninstalling YMS..."
if [ "$(id -u)" -ne 0 ]; then
echo "Error: this script must be run as root."
echo "Please use:"
echo " sudo $0"
exit 1
fi
rm -f "${BINDIR}/yms"
rm -rf "${LIBDIR}"
rm -rf "${SHAREDIR}"