Skip to content
Snippets Groups Projects
Verified Commit 4428bc0d authored by David Beniamine's avatar David Beniamine
Browse files

Reintrant postinstall

parent 3acab8ba
Branches
No related tags found
No related merge requests found
...@@ -26,8 +26,14 @@ apt-eole install \ ...@@ -26,8 +26,14 @@ apt-eole install \
printer-driver-splix \ printer-driver-splix \
hplip \ hplip \
wakeonlan wakeonlan
if [ ! -e "eole-wol" ]
then
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
cd eole-wol cd eole-wol
else
cd eole-wol
git pull
fi
cp $DIR/*/service/*.service /etc/systemd/system/ cp $DIR/*/service/*.service /etc/systemd/system/
......
...@@ -24,7 +24,14 @@ apt-eole update ...@@ -24,7 +24,14 @@ apt-eole update
apt-eole install \ apt-eole install \
git \ git \
xrdp xrdp
if [ ! -e "eole-wol" ]
then
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol 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 chown -R www-data:www-data eole-wol/wol/www
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment