if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; rm -rf libcc1plugin.so )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; ln -sf libcc1plugin.so.0.0.0 libcc1plugin.so )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; rm -rf libcc1plugin.so.0 )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; ln -sf libcc1plugin.so.0.0.0 libcc1plugin.so.0 )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; rm -rf libcp1plugin.so )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; ln -sf libcp1plugin.so.0.0.0 libcp1plugin.so )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; rm -rf libcp1plugin.so.0 )
( cd opt/arduino/hardware/tools/avr/lib/gcc/avr/7.3.0/plugin ; ln -sf libcp1plugin.so.0.0.0 libcp1plugin.so.0 )
( cd opt/arduino/hardware/tools/avr/lib ; rm -rf libcc1.so )
( cd opt/arduino/hardware/tools/avr/lib ; ln -sf libcc1.so.0.0.0 libcc1.so )
( cd opt/arduino/hardware/tools/avr/lib ; rm -rf libcc1.so.0 )
( cd opt/arduino/hardware/tools/avr/lib ; ln -sf libcc1.so.0.0.0 libcc1.so.0 )
( cd opt/arduino/hardware/tools/avr/lib ; rm -rf libtinfo.so.5 )
( cd opt/arduino/hardware/tools/avr/lib ; ln -sf /lib/libncurses.so.5 libtinfo.so.5 )
( cd opt/arduino/hardware/tools/avr/libexec/gcc/avr/7.3.0 ; rm -rf liblto_plugin.so )
( cd opt/arduino/hardware/tools/avr/libexec/gcc/avr/7.3.0 ; ln -sf liblto_plugin.so.0.0.0 liblto_plugin.so )
( cd opt/arduino/hardware/tools/avr/libexec/gcc/avr/7.3.0 ; rm -rf liblto_plugin.so.0 )
( cd opt/arduino/hardware/tools/avr/libexec/gcc/avr/7.3.0 ; ln -sf liblto_plugin.so.0.0.0 liblto_plugin.so.0 )
( cd usr/bin ; rm -rf arduino )
( cd usr/bin ; ln -sf /opt/arduino/arduino arduino )
