From a85307b3d3c76c6742336c1ee701a76f1cc030ec Mon Sep 17 00:00:00 2001 From: mrroman <mrroman@devsite.pl> Date: Thu, 28 Dec 2023 21:28:38 +0000 Subject: [PATCH] Use ksh instead of sh in rc script --- vilain | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vilain b/vilain old mode 100755 new mode 100644 index d385066..21f08bf --- a/vilain +++ b/vilain @@ -1,8 +1,7 @@ #!/bin/sh -# script to launch vilain with the latest python3 version avaiable +# script to launch vilain with the latest python3 version available -PYTHONVERSION=$(ls -l /usr/local/bin/python3.* |grep -Eo "3\.[0-9]" |tail -n1) -PYTHON="/usr/local/bin/python$PYTHONVERSION" +PYTHON="/usr/local/bin/python3" if [ -x $PYTHON ]; then $PYTHON /usr/local/sbin/vilain.py >/dev/null 2>&1 & else -- Gitblit v1.9.3