This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Extracts LM Studio deb package, fixes paths and rebuilds | |
| # This is slow but results in a clean install package, for probably any version | |
| export LMSDEB=$1 | |
| if [[ -z "$LMSDEB" || "$LMSDEB" != *.deb ]]; then | |
| echo "Usage $0 LM-Studio-x.x.x-x-x64.deb" | |
| exit 1 | |
| fi | |
| fakeroot bash -c ' |