Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ilja
neutrinet_ynh
Commits
b3ebcf96
Commit
b3ebcf96
authored
Jun 07, 2016
by
Laurent Peuch
Browse files
[fix] various fixes
parent
e6b1f124
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/install
View file @
b3ebcf96
set -e
RENEW_CERT_PATH=/opt/neutrinet/renew_cert
install_renew_cert() {
set -e
install_dir=$(pwd)
sudo apt-get install -y python-virtualenv
sudo git clone https://github.com/neutrinet/renew_cert
/opt
sudo git clone https://github.com/neutrinet/renew_cert
$RENEW_CERT_PATH
git checkout a6d09c2d77ce9bd4161d56e93fc5ce03187ad51c || echo ""
install_dir=$(pwd)
cd /opt/renew_cert
# I need system site packages otherwise moulinette is broken
...
...
@@ -21,11 +23,15 @@ install_renew_cert() {
}
renew_cert() {
cd /opt/renew_cert
set -e
install_dir=$(pwd)
cd $RENEW_CERT_PATH
sudo ve/bin/python renew_from_cube.py
}
path=${path%/}
cd $install_dir
}
sudo yunohost app setting neutrinet version -v "0.1"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment