Add BackTunnel package: Reverse SSH folder sharing toolkit with KDE integration. Includes service menu support, bash completion, and desktop launcher.

This commit is contained in:
2025-09-14 11:42:27 +02:00
parent ee5cd7088c
commit 311983ab34
2 changed files with 87 additions and 0 deletions

27
backtunnel.install Normal file
View File

@@ -0,0 +1,27 @@
post_install() {
# Refresh desktop DB
if command -v update-desktop-database >/dev/null 2>&1; then
update-desktop-database -q || true
fi
# Rebuild KDE service cache
if command -v kbuildsycoca6 >/dev/null 2>&1; then
kbuildsycoca6 --noincremental >/dev/null 2>&1 || true
elif command -v kbuildsycoca5 >/dev/null 2>&1; then
kbuildsycoca5 --noincremental >/dev/null 2>&1 || true
fi
}
post_upgrade() {
post_install
}
post_remove() {
if command -v update-desktop-database >/dev/null 2>&1; then
update-desktop-database -q || true
fi
if command -v kbuildsycoca6 >/dev/null 2>&1; then
kbuildsycoca6 --noincremental >/dev/null 2>&1 || true
elif command -v kbuildsycoca5 >/dev/null 2>&1; then
kbuildsycoca5 --noincremental >/dev/null 2>&1 || true
fi
}