mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
try fix again
This commit is contained in:
parent
05b4bae482
commit
fa9e7685d1
1 changed files with 7 additions and 8 deletions
|
@ -123,14 +123,14 @@ echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Install OnlyOffice..."
|
ynh_script_progression --message="Install OnlyOffice..."
|
||||||
|
|
||||||
#ynh_install_extra_repo repo=https://download.onlyoffice.com key=https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE priority=995
|
ynh_install_extra_repo repo=https://download.onlyoffice.com key=https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE priority=995
|
||||||
#mkdir -p -m 700 ~/.gnupg
|
#mkdir -p -m 700 ~/.gnupg
|
||||||
curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import
|
#curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import
|
||||||
chmod 644 /tmp/onlyoffice.gpg
|
#chmod 644 /tmp/onlyoffice.gpg
|
||||||
chown root:root /tmp/onlyoffice.gpg
|
#chown root:root /tmp/onlyoffice.gpg
|
||||||
mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg
|
#mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg
|
||||||
|
|
||||||
echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
|
#echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
|
||||||
|
|
||||||
# The onlyoffice dev had the magnificent idea to add a "nginx restart" during
|
# The onlyoffice dev had the magnificent idea to add a "nginx restart" during
|
||||||
# the install/configure of their package, which is awful since that will
|
# the install/configure of their package, which is awful since that will
|
||||||
|
@ -138,9 +138,8 @@ echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyof
|
||||||
# running the install ...
|
# running the install ...
|
||||||
|
|
||||||
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 2>/dev/null
|
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 2>/dev/null
|
||||||
#ynh_install_extra_app_dependencies repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies key="https://ftp-master.debian.org/keys/release-$(lsb_release --release --short).asc"
|
ynh_install_extra_app_dependencies repo="https://download.onlyoffice.com/repo/debian squeeze main" --package=$extra_dependencies key="[signed-by=/usr/share/keyrings/onlyoffice.gpg]"
|
||||||
|
|
||||||
ynh_install_app onlyoffice-documentserver
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue