summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJYPDWhite2021-04-21 14:19:56 +0200
committerJYPDWhite2021-04-21 14:19:56 +0200
commit6feb41ba1eddc7ccf8a41f275855c0462b021cb8 (patch)
treedf0186f27786d9f3ed6f337eb2d082b476784f43
parent509b382d6eb1f38df7f17d281cc4f53ef0b4551d (diff)
downloadaur-6feb41ba1eddc7ccf8a41f275855c0462b021cb8.tar.gz
Adding debug messages to pin point error
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d3e45d0213ee..0e04a66250da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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