mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Be able to install in chroot (#44)
This commit is contained in:
parent
18a7817e22
commit
79a01bba84
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ setup_package_source() {
|
|||
if [[ $(lsb_release -c | awk '{print $2}') != jessie ]]; then
|
||||
echo "Current $DISTRIB only works on Debian Jessie for the moment."
|
||||
return 1
|
||||
elif [ ! -d /run/systemd/system ]; then
|
||||
elif ! command -v systemctl > /dev/null ; then
|
||||
echo "Current $DISTRIB only works with systemd for the moment."
|
||||
return 1
|
||||
fi
|
||||
|
@ -202,7 +202,7 @@ setup_package_source() {
|
|||
fi
|
||||
|
||||
# Add YunoHost repository key to the keyring
|
||||
wget -O- https://repo.yunohost.org/yunohost.asc -q | apt-key add - -qq > /dev/null
|
||||
wget -O- https://repo.yunohost.org/yunohost.asc -q | apt-key add -qq - > /dev/null
|
||||
}
|
||||
|
||||
apt_update() {
|
||||
|
|
Loading…
Add table
Reference in a new issue