mirror of
https://github.com/YunoHost-Apps/nitter_ynh.git
synced 2024-09-03 19:46:24 +02:00
Fix upgrade from old path
This commit is contained in:
parent
05fc01680c
commit
4508d48f46
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@ pkg_dependencies="acl nim libsass-dev"
|
||||||
function build_nitter {
|
function build_nitter {
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
chown -R $app:$app $final_path
|
chown -R $app:$app $final_path
|
||||||
sudo -u $app env "PATH=/var/www/$app/nim-installation/bin:$(sudo -u $app sh -c 'echo $PATH')" nimble build -d:release -y -d:danger --passC:"-flto" --passL:"-flto" 2>&1
|
sudo -u $app env "PATH=$final_path/nim-installation/bin:$(sudo -u $app sh -c 'echo $PATH')" nimble build -d:release -y -d:danger --passC:"-flto" --passL:"-flto" 2>&1
|
||||||
sudo -u $app env "PATH=/var/www/$app/nim-installation/bin:$(sudo -u $app sh -c 'echo $PATH')" strip -s nitter 2>&1
|
sudo -u $app env "PATH=$final_path/nim-installation/bin:$(sudo -u $app sh -c 'echo $PATH')" strip -s nitter 2>&1
|
||||||
sudo -u $app env "PATH=/var/www/$app/nim-installation/bin:$(sudo -u $app sh -c 'echo $PATH')" nimble scss -y 2>&1
|
sudo -u $app env "PATH=$final_path/nim-installation/bin:$(sudo -u $app sh -c 'echo $PATH')" nimble scss -y 2>&1
|
||||||
mkdir -p $final_path/tmp
|
mkdir -p $final_path/tmp
|
||||||
chown -R root:root $final_path
|
chown -R root:root $final_path
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue