install oathtool at install not startup

parent 0b60b879
#!/bin/bash
if [ -z "$(which oathtool)" ]
then
apt-get update
apt-get -y install oathtool
fi
file="/home/direction/Documents/Partages_Serveur/CONFIDENTIEL_DIRECTION/.gimaweb_secret.totp"
secret=$(cat $file)
if [ -z "$secret" ]
......
#!/bin/bash
DIR=$(realpath $(dirname $0))
if [ -z "$(which oathtool)" ]
then
apt-get -y update
apt-get -y install oathtool
fi
cp $DIR/Demande_Batiment.desktop /home/direction/Bureau
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment