mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[fix] Locales symlink after yunohost source symlink.
This commit is contained in:
parent
e08c05776d
commit
eb9ff58816
1 changed files with 4 additions and 4 deletions
8
ynh-dev
8
ynh-dev
|
@ -235,14 +235,14 @@ elif [ "$1" = "use-git" ]; then
|
||||||
if [ ! -L '/usr/lib/metronome/modules/vcard.lib.lua' ]; then sudo rm /usr/lib/metronome/modules/vcard.lib.lua; fi
|
if [ ! -L '/usr/lib/metronome/modules/vcard.lib.lua' ]; then sudo rm /usr/lib/metronome/modules/vcard.lib.lua; fi
|
||||||
sudo ln -s -f /vagrant/yunohost/lib/metronome/modules/vcard.lib.lua /usr/lib/metronome/modules/vcard.lib.lua
|
sudo ln -s -f /vagrant/yunohost/lib/metronome/modules/vcard.lib.lua /usr/lib/metronome/modules/vcard.lib.lua
|
||||||
|
|
||||||
# locales
|
|
||||||
if [ ! -L '/usr/lib/moulinette/yunohost/locales' ]; then sudo rm -rf /usr/lib/moulinette/yunohost/locales; fi
|
|
||||||
sudo ln -s -f /vagrant/yunohost/locales /usr/lib/moulinette/yunohost/locales
|
|
||||||
|
|
||||||
# src
|
# src
|
||||||
if [ ! -L '/usr/lib/moulinette/yunohost' ]; then sudo rm -rf /usr/lib/moulinette/yunohost; fi
|
if [ ! -L '/usr/lib/moulinette/yunohost' ]; then sudo rm -rf /usr/lib/moulinette/yunohost; fi
|
||||||
sudo ln -s -f /vagrant/yunohost/src/yunohost /usr/lib/moulinette/yunohost
|
sudo ln -s -f /vagrant/yunohost/src/yunohost /usr/lib/moulinette/yunohost
|
||||||
|
|
||||||
|
# locales
|
||||||
|
if [ ! -L '/usr/lib/moulinette/yunohost/locales' ]; then sudo rm -rf /usr/lib/moulinette/yunohost/locales; fi
|
||||||
|
sudo ln -s -f /vagrant/yunohost/locales /usr/lib/moulinette/yunohost/locales
|
||||||
|
|
||||||
# Remove actionsmap cache
|
# Remove actionsmap cache
|
||||||
[ -e '/var/cache/moulinette/actionsmap/yunohost.pkl' ] && sudo rm /var/cache/moulinette/actionsmap/yunohost.pkl
|
[ -e '/var/cache/moulinette/actionsmap/yunohost.pkl' ] && sudo rm /var/cache/moulinette/actionsmap/yunohost.pkl
|
||||||
echo "↳ Don't forget to remove '/var/cache/moulinette/actionsmap/yunohost.pkl' cache when hacking yunohost"
|
echo "↳ Don't forget to remove '/var/cache/moulinette/actionsmap/yunohost.pkl' cache when hacking yunohost"
|
||||||
|
|
Loading…
Reference in a new issue