if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; rm -rf libsodium.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; ln -sf ../libsodium.la libsodium.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; rm -rf libavx2.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; ln -sf ../libavx2.la libavx2.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; rm -rf libsse2.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; ln -sf ../libsse2.la libsse2.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; rm -rf libaesni.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; ln -sf ../libaesni.la libaesni.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; rm -rf libsse41.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; ln -sf ../libsse41.la libsse41.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; rm -rf libssse3.la )
( cd opt/Wire/resources/app/node_modules/libsodium-neon/native/target/release/build/rust_sodium-sys-9aaf94579de3021f/out/source/libsodium-1.0.12/src/libsodium/.libs ; ln -sf ../libssse3.la libssse3.la )
( cd usr/bin ; rm -rf wire )
( cd usr/bin ; ln -sf /opt/Wire/wire wire )
