- Add complete Debian packaging configuration (debian/ directory) - Create build-deb.sh script for building packages - Update Forgejo workflow to build and upload .deb artifacts - Add comprehensive version naming for both binary and Debian artifacts - Update .gitignore to exclude build artifacts and packaging files - Add PACKAGING.md documentation - Add test-deb.sh for testing package installation
11 lines
345 B
Bash
Executable file
11 lines
345 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
# Pre-removal script for deb-bootupd
|
|
# This script runs before the package is removed
|
|
|
|
# Stop the bootloader-update service if it's running
|
|
# Note: This is a oneshot service, so it may not be running
|
|
if command -v systemctl >/dev/null 2>&1; then
|
|
deb-systemd-invoke stop bootloader-update.service >/dev/null 2>&1 || true
|
|
fi
|