#!/usr/bin/env bash # Install tanin-calendar on THIS machine (no packaging round-trip). Run with # sudo: # sudo bash packaging/tanin-calendar/install-local.sh set -euo pipefail SRC="$(cd "$(dirname "$0")" && pwd)" install -Dm755 "$SRC/tanin-calendar" /usr/bin/tanin-calendar install -Dm644 "$SRC/tanin-calendar.css" /usr/share/tanin/calendar/tanin-calendar.css install -Dm644 "$SRC/ch.gabrielevarano.TaninCalendar.desktop" \ /usr/share/applications/ch.gabrielevarano.TaninCalendar.desktop # refresh the desktop database so the launcher entry shows up immediately command -v update-desktop-database >/dev/null 2>&1 && \ update-desktop-database /usr/share/applications || true cat <