while [ -z "$CHOICE" ]; do
if [ -z "$(ls)" ]; then
CHOICE="$(echo 'edit menu
-close' | instantmenu -bw 4 -C -l 7 -w -1)"
+close' | instantmenu -bw 4 -C -l 15 -w -1)"
else
- CHOICE="$(ls -p | sed -e '$aedit menu\nclose' | instantmenu -bw 4 -C -l 7 -w -1)"
+ CHOICE="$(ls -p | sed -e '$aedit menu\nclose' | instantmenu -bw 4 -C -l 15 -w -1)"
fi
if [ -e "$CHOICE" ]; then
if [ -d "$CHOICE" ]; then
if ! [ -e /tmp/topinstall ] && command -v plymouth-set-default-theme && ! grep -iq 'manjaro' /etc/os-release; then
# install a custom repo
if ! grep -q '\[instant\]' /etc/pacman.conf; then
+ echo "restoring repo"
/usr/share/instantutils/repo.sh
else
echo "instantOS repo found"