mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Remove usage of apt-get
This commit is contained in:
parent
21691a8645
commit
750b45a2d5
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ ynh_app_setting_set $app port $port
|
||||||
# ADD COLLABORA REPOSITORY
|
# ADD COLLABORA REPOSITORY
|
||||||
#===============================================
|
#===============================================
|
||||||
|
|
||||||
apt-get -yy install apt-transport-https
|
ynh_install_app_dependencies apt-transport-https
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]; then
|
if [ "$(lsb_release --codename --short)" = "jessie" ]; then
|
||||||
echo 'deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./' | sudo tee -a /etc/apt/sources.list.d/collabora.list
|
echo 'deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./' | sudo tee -a /etc/apt/sources.list.d/collabora.list
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue