diff options
| author | nemsia <nemsia@nemsia.org> | 2017-06-07 20:42:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-07 20:42:42 +0200 |
| commit | e438a0ab3eda6a63150ceaa983e1614836c07b70 (patch) | |
| tree | 92ec8d3fd1c97b9c0c118c421c55a811c2390013 /scripts/install | |
| parent | 140824e76a478a4d48b93e81f3bcb25c6d38add8 (diff) | |
| download | mastodon_ynh-e438a0ab3eda6a63150ceaa983e1614836c07b70.tar.gz mastodon_ynh-e438a0ab3eda6a63150ceaa983e1614836c07b70.tar.bz2 mastodon_ynh-e438a0ab3eda6a63150ceaa983e1614836c07b70.zip | |
Fix install on arm (#42)
* [fix] Missing pubkey on arm
* [enh] Install on arm + update README
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/install b/scripts/install index a4faed3..17a4573 100644 --- a/scripts/install +++ b/scripts/install @@ -52,6 +52,13 @@ ynh_package_install postgresql postgresql-contrib # Install Ruby ynh_package_install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev +# Import debian archive pubkey, need on ARM arch +arch=$(uname -m) +if [[ $arch = arm* ]]; then + sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553 + sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010 +fi + # Install source.list debian package backports & yarn sudo cp ../conf/backports.list /etc/apt/sources.list.d/ sudo curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - |
