#!/bin/bash

# Application de la configuration WPKG, uniquement en nouvelle installation
[ -f /home/wpkg/config.xml ] && exit
[ -f /home/wpkg/settings.xml ] && exit
[ -f /usr/share/eole/wpkg/wpkg_config.eol ] && exit
touch /usr/share/eole/wpkg/wpkg_config.eol
/usr/share/eole/wpkg/wpkg_configure
chmod -R 755 /home/wpkg
getfacl --access --absolute-names /home/wpkg|setfacl -d -RM - /home/wpkg
