#!/bin/sh
-set -x
+set -xe
# librecmc 1.5.1 is missing nfs-kernel-server and screen
source /etc/os-release
if [ "$ID" == librecmc ] && [ "$VERSION" == v1.5.1-core ]; then
opkg install bash
fi
-if [ -f /root/err ]; then
+if [ -f /root/bash-bear ]; then
mkdir -p /usr/local/lib
- mv /root/err /usr/local/lib
+ mv /root/bash-bear /usr/local/lib
fi
# this isnt used anymore