diff options
author | JYPDWhite | 2021-04-21 14:19:56 +0200 |
---|---|---|
committer | JYPDWhite | 2021-04-21 14:19:56 +0200 |
commit | 6feb41ba1eddc7ccf8a41f275855c0462b021cb8 (patch) | |
tree | df0186f27786d9f3ed6f337eb2d082b476784f43 | |
parent | 509b382d6eb1f38df7f17d281cc4f53ef0b4551d (diff) | |
download | aur-6feb41ba1eddc7ccf8a41f275855c0462b021cb8.tar.gz |
Adding debug messages to pin point error
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,7 +13,7 @@ pkgname=libreoffice-fresh-rpm pkgver=7.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="LGPL Office Suite installed from rpms" arch=('x86_64') url='https://www.libreoffice.org' @@ -30,8 +30,11 @@ source=("https://download.documentfoundation.org/libreoffice/stable/${pkgver}/rp prepare() { ## prepare function ## install optional language & help packs (queries user) +msg "Debug: 1"; curl "http://download.documentfoundation.org/libreoffice/stable/${pkgver}/rpm/${arch_mod}/" -o index.html; ## get index.html +msg "Debug: 2"; declare -ar opt_pak=('langpack' 'helppack'); ## declare optional extensions +msg "Debug: 3"; for a in ${opt_pak[@]}; do ## loop for all optional extensions read -p "Do you want to install additional ${a} (Y/y/N/n)?" opt_ans; case $opt_ans in ## evaluate the answer |