3 set -o pipefail
# trace ERR through pipes
4 set -o errtrace
# trace ERR through 'time command' and other functions
5 set -o nounset
## set -u : exit the script if you try to use an uninitialised variable
6 set -o errexit
## set -e : exit the script if any statement returns a non-true return value
7 set -o xtrace
# print commands as they are executed
11 allegro |
*32 ) ARCH
=i386
;;
14 KEYFILE
=/etc
/apt
/keyrings
/obs-sionescu.key
15 cat > /etc
/apt
/sources.list.d
/libfixposix.list
<<EOF
16 deb [signed-by=${KEYFILE}] http://download.opensuse.org/repositories/home:/sionescu/Ubuntu_Jammy/ ./
19 cat > /etc
/apt
/preferences.d
/libfixposix
<<EOF
21 Pin: origin download.opensuse.org
25 mkdir
-vp /etc
/apt
/keyrings
/
26 curl https
://download.opensuse.org
/repositories
/home
:/sionescu
/Ubuntu_Jammy
/Release.key | sudo
tee "${KEYFILE}"
30 apt-get
-y install libfixposix4
:${ARCH} libfixposix-dev
:${ARCH}
32 dpkg
-L libfixposix4 libfixposix-dev