diff --git a/backtunnel/PKGBUILD b/backtunnel/PKGBUILD index 4c94ee0..4d91865 100644 --- a/backtunnel/PKGBUILD +++ b/backtunnel/PKGBUILD @@ -44,6 +44,8 @@ package() { install -Dm755 "scripts/backtunnel-share-tui" "${pkgdir}/usr/bin/backtunnel-share-tui" install -Dm755 "scripts/backtunnel-access-tui" "${pkgdir}/usr/bin/backtunnel-access-tui" install -Dm755 "scripts/backtunnel-auth-setup" "${pkgdir}/usr/bin/backtunnel-auth-setup" + install -Dm755 "scripts/backtunnel-keys" "${pkgdir}/usr/bin/backtunnel-keys" + install -Dm755 "scripts/backtunnel-authorize" "${pkgdir}/usr/bin/backtunnel-authorize" # Optional helper to create per-user config from example if [[ -f "scripts/backtunnel-init" ]]; then @@ -69,8 +71,10 @@ EOF install -Dm644 "man/backtunnel.1" "${pkgdir}/usr/share/man/man1/backtunnel.1" # Bash completion (install for both command names) - install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-share" - install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-access" + if [[ -f "completions/backtunnel.bash" ]]; then + install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-share" + install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-access" + fi # Dolphin service menus (Plasma 6 path) install -Dm644 "servicemenus/backtunnel_share.desktop" "${pkgdir}/usr/share/kio/servicemenus/backtunnel_share.desktop"