Unverified Commit 4428bc0d authored by David Beniamine's avatar David Beniamine
Browse files

Reintrant postinstall

parent 3acab8ba
......@@ -26,8 +26,14 @@ apt-eole install \
printer-driver-splix \
hplip \
wakeonlan
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
cd eole-wol
if [ ! -e "eole-wol" ]
then
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
cd eole-wol
else
cd eole-wol
git pull
fi
cp $DIR/*/service/*.service /etc/systemd/system/
......
......@@ -24,7 +24,14 @@ apt-eole update
apt-eole install \
git \
xrdp
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
if [ ! -e "eole-wol" ]
then
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
else
cd eole-wol
git pull
cd -
fi
chown -R www-data:www-data eole-wol/wol/www
......
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