mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
And this time with the parameters the right way around.
This commit is contained in:
parent
68abb2b5b4
commit
dbd1b6b46d
@ -83,10 +83,10 @@ echo "popd" >> postinst
|
||||
LINKED_PYTHON=$(ldd /opt/libreqos/src/bin/lqosd | grep libpython | sed -e '/^[^\t]/ d' | sed -e 's/\t//' | sed -e 's/.*=..//' | sed -e 's/ (0.*)//')
|
||||
echo "if ! test -f $LINKED_PYTHON; then" >> postinst
|
||||
echo " if test -f /lib/x86_64-linux-gnu/libpython3.12.so.1.0; then" >> postinst
|
||||
echo " ln -s $LINKED_PYTHON /lib/x86_64-linux-gnu/libpython3.10.so.1.0" >> postinst
|
||||
echo " ln -s /lib/x86_64-linux-gnu/libpython3.12.so.1.0 $LINKED_PYTHON" >> postinst
|
||||
echo " fi" >> postinst
|
||||
echo " if test -f /lib/x86_64-linux-gnu/libpython3.11.so.1.0; then" >> postinst
|
||||
echo " ln -s $LINKED_PYTHON /lib/x86_64-linux-gnu/libpython3.10.so.1.0" >> postinst
|
||||
echo " ln -s /lib/x86_64-linux-gnu/libpython3.11.so.1.0 $LINKED_PYTHON" >> postinst
|
||||
echo " fi" >> postinst
|
||||
echo "fi" >> postinst
|
||||
# End of symlink insanity
|
||||
|
Loading…
Reference in New Issue
Block a user