From ac5904f0ff7cf373c4f546ff2ebaddc380bd4141 Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Jun 11 2020 07:05:51 +0000 Subject: OpenToonz Appiamge: fix crash on Ubuntu 20.04 - https://github.com/morevnaproject-org/opentoonz/issues/39 --- diff --git a/env-builder-data/build/script/packet/opentoonz-appimage.sh b/env-builder-data/build/script/packet/opentoonz-appimage.sh index 2fca3f7..e2872b5 100644 --- a/env-builder-data/build/script/packet/opentoonz-appimage.sh +++ b/env-builder-data/build/script/packet/opentoonz-appimage.sh @@ -33,6 +33,10 @@ pkinstall_release() { # clean boost rm -f $APPDIR/usr/lib/libboost_* || return 1 + # fix crash on Ubuntu 20.04 + # https://github.com/morevnaproject-org/opentoonz/issues/39 + rm -f $APPDIR/usr/lib/libstdc* || return 1 + (cd "$INSTALL_RELEASE_PACKET_DIR" && tar -czf "$PK_APPDIR_NAME.tar.gz" "$PK_APPDIR_NAME.AppDir") || return 1 AppImageAssistant "$APPDIR" "$INSTALL_RELEASE_PACKET_DIR/$PK_APPDIR_NAME.appimage" || return 1 rm -rf "$APPDIR"