henrylawson/photish

View on GitHub
boxes/ubuntu/test-install-i386.sh

Summary

Maintainability
Test Coverage
#!/bin/bash
set -xeuo pipefail

# install local package
cp /photish/pkg/*i386.deb ~
sudo dpkg -r photish || true
sudo dpkg -i ~/*i386.deb
photish version

# uninstall
sudo dpkg -r photish

# install from the apt get repository
echo "deb https://dl.bintray.com/henrylawson/deb all main" | sudo tee -a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F608A664B7DFFFEA
sudo apt-get update && sudo apt-key update

# install package
sudo apt-get install photish:i386
photish version