thctlo / Kopano

Scripts for Kopano
25 stars 11 forks source link

kopano-community.list malformed in 3.0.1 #8

Closed stan23 closed 3 years ago

stan23 commented 3 years ago

The script is not generating the kopano-community.list correctly:

root@vps2053415:/usr/local/src# cat /etc/apt/sources.list.d/kopano-community.list
# File setup for Kopano Community."
deb [trusted=yes] file:$REPO_BASE_FOLDER" ${GET_ARCH}/"
# Webserver setup for Kopano Community."
#deb [trusted=yes] http://localhost/kopano/ ${GET_ARCH}/"
# to enable the webserver, install a webserver ( apache/nginx )"
# and symlink ${REPO_BASE_FOLDER}/ to /var/www/html/kopano"
# example : ln -s /srv/repo/kopano /var/www/html/kopano"

Script output:

root@vps2053415:/usr/local/src# ./get-kopano-community.sh
Script is running on : Debian buster
Detected variable REPO_BASE_FOLDER/GET_ARCH : /usr/local/src/kopano-repo/amd64/
We already moved an older version to /usr/local/src/kopano-repo/amd64-2021-08-21
Please wait, getting kopano components : core : Done
Please wait, getting kopano components : archiver : Done
Please wait, getting kopano components : files : Done
Please wait, getting kopano components : mdm : Done
Please wait, getting kopano components : smime : Done
Please wait, getting kopano components : webapp : Done
Please wait, getting kopano components : migration-pst : Done

The installed Kopano apt-list file: /etc/apt/sources.list.d/kopano-community.list

Generating packages file : amd64/Packages
Running apt update, please wait: E: Malformed entry 2 in list file /etc/apt/sources.list.d/kopano-community.list (Suite)
E: The list of sources could not be read.

I tried few things myself, but I wasn't able to get the 2 variables replaced.