diff --git a/pkg/DEB/debian/postinst b/pkg/DEB/debian/postinst index 6b22930..e846cb4 100755 --- a/pkg/DEB/debian/postinst +++ b/pkg/DEB/debian/postinst @@ -1,5 +1,16 @@ #!/bin/sh +# -------------------------------------------------------------- +# SPDX-License-Identifier: GPL-3.0-or-later +# -------------------------------------------------------------- +# DEB File : postinst +# File Authors : sanchuanhehe +# Contributors : Nil Null +# | +# Created On : <2025-06-14> +# Last Modified : <2025-06-15> +# # postinst script for chsrc +# -------------------------------------------------------------- set -e @@ -9,10 +20,10 @@ case "$1" in if command -v mandb >/dev/null 2>&1; then mandb -q /usr/share/man/man1/chsrc.1 2>/dev/null || true fi - + # Make sure chsrc is executable chmod +x /usr/bin/chsrc - + echo "chsrc has been successfully installed!" echo "Run 'chsrc help' to get started." ;; diff --git a/pkg/DEB/debian/prerm b/pkg/DEB/debian/prerm index 4b94d07..291ad8b 100755 --- a/pkg/DEB/debian/prerm +++ b/pkg/DEB/debian/prerm @@ -1,5 +1,16 @@ #!/bin/sh +# -------------------------------------------------------------- +# SPDX-License-Identifier: GPL-3.0-or-later +# -------------------------------------------------------------- +# DEB File : prerm +# File Authors : sanchuanhehe +# Contributors : Nil Null +# | +# Created On : <2025-06-14> +# Last Modified : <2025-06-15> +# # prerm script for chsrc +# -------------------------------------------------------------- set -e