Skip to content

Commit

Permalink
Update virtualbox-kvm-junest.sh - fix libcurl
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Feb 9, 2025
1 parent 10ae92b commit ee3190d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions virtualbox-kvm-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ sed -i 's/^MY_DIR=/#MY_DIR=/g' ./"$APP".AppDir/.junest/usr/bin/VBox || exit 1
sed -i 's/elif ! lsmod/elif ! echo vboxdrv/g' ./"$APP".AppDir/.junest/usr/bin/VBox || exit 1
sed -i 's# ! -c /dev/vboxdrv# -d /dev/vboxdrv#g' ./"$APP".AppDir/.junest/usr/bin/VBox || exit 1

# Fix libcurl
rm -f ./"$APP".AppDir/.junest/usr/lib/libcurl* && cp -r ./archlinux/.junest/usr/lib/libcurl* ./"$APP".AppDir/.junest/usr/lib/

_remove_more_bloatwares
find ./"$APP".AppDir/.junest/usr/lib ./"$APP".AppDir/.junest/usr/lib32 -type f -regex '.*\.a' -exec rm -f {} \; 2>/dev/null
find ./"$APP".AppDir/.junest/usr -type f -regex '.*\.so.*' -exec strip --strip-debug {} \;
Expand Down

0 comments on commit ee3190d

Please sign in to comment.