Script di aiuto per il build delle AppImage di LibreOffice.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
563 B

#!/bin/bash
pushd $(dirname $0)
# Checking if pull is successfull
git fetch origin
LC_ALL=C git status | grep -q "Your branch is up to date"; retval=$?
if [[ ${retval} -ne 0 ]]; then
# Let us update the pip installation
git pull
# for the sake of consistency, let's make the check_updates.sh script
# executable
chmod +x check_updates.sh
pip3 uninstall -y loaih
# build the actual toolkit
python3 setup.py bdist_wheel
pip3 install dist/*.whl; rv=$?
if [[ ${rv} -eq 0 ]]; then
# cleanup
rm -rf dist build loaih.egg-info
fi
fi
popd