feat: release v2.0.0 with tab completion, package filtering, db health checks, flatpak and logrotate
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
This commit is contained in:
1 parent
8d4157b42d
commit
8bec4ed932
27 files changed
+1053
-69
No files matched your search
@@ -39,4 +39,23 @@ if [ -f "${SCRIPT_DIR}/man/linux-updater.8" ]; then
|
||||
install -m 644 "${SCRIPT_DIR}/man/linux-updater.8" "${PREFIX}/share/man/man8/linux-updater.8"
|
||||
fi
|
||||
|
||||
# Install shell completions
|
||||
if [ -f "${SCRIPT_DIR}/completions/bash/linux-updater" ]; then
|
||||
mkdir -p "${PREFIX}/share/bash-completion/completions"
|
||||
install -m 644 "${SCRIPT_DIR}/completions/bash/linux-updater" "${PREFIX}/share/bash-completion/completions/linux-updater"
|
||||
fi
|
||||
if [ -f "${SCRIPT_DIR}/completions/zsh/_linux-updater" ]; then
|
||||
mkdir -p "${PREFIX}/share/zsh/site-functions"
|
||||
install -m 644 "${SCRIPT_DIR}/completions/zsh/_linux-updater" "${PREFIX}/share/zsh/site-functions/_linux-updater"
|
||||
fi
|
||||
|
||||
# Install logrotate configuration
|
||||
if [ -f "${SCRIPT_DIR}/packaging/logrotate/linux-updater" ]; then
|
||||
mkdir -p "${SYSCONFDIR}/logrotate.d"
|
||||
install -m 644 "${SCRIPT_DIR}/packaging/logrotate/linux-updater" "${SYSCONFDIR}/logrotate.d/linux-updater"
|
||||
elif [ -f "${SCRIPT_DIR}/logrotate/linux-updater" ]; then
|
||||
mkdir -p "${SYSCONFDIR}/logrotate.d"
|
||||
install -m 644 "${SCRIPT_DIR}/logrotate/linux-updater" "${SYSCONFDIR}/logrotate.d/linux-updater"
|
||||
fi
|
||||
|
||||
echo "Installation complete! Run 'linux-updater --help' to verify."
|
||||
Reference in new issue
Block a user