## GIVE ACCESS TO www-data group

This commit is contained in:
qo-op 2021-07-05 19:29:13 +02:00
parent 421610cf3e
commit 804f3a07e6
1 changed files with 4 additions and 1 deletions

View File

@ -24,16 +24,19 @@ python3 -m pip install -U pip
python3 -m pip install -U setuptools wheel
python3 -m pip install -U cryptography Ed25519 base58 google protobuf duniterpy
if [[ "$USER" == "pi" ]]; then ## PROPOSE QR_CODE PRINTER
echo "INSTALLER IMPRIMANTE A QR CODE (BROTHER) ? saisissez un caractère, sinon tapez ENTER"
echo "INSTALLER ACCES SMS ET IMPRIMANTE A QR CODE? saisissez OUI, sinon tapez sur ENTREE"
read saisie
if [[ $saisie != "" ]]; then
sudo apt install printer-driver-all cups -y
sudo pip3 install brother_ql
sudo cupsctl --remote-admin
sudo usermod -aG lpadmin pi
sudo usermod -a -G gammu pi
fi
fi
# python3 -m pip install -U silkaj
## GIVE ACCESS TO www-data group
sudo usermod -aG www-data $USER
########################################################################
echo "Clonage git astrXbian depuis https://git.p2p.legal"