Commit d1ef746b authored by Tom Ricci's avatar Tom Ricci
Browse files

Curl avec FQDN

parent 79296d2c
......@@ -2,7 +2,7 @@ echo "Installation des logiciels via wpkg"
packages=$(dpkg-query -W --showformat '${binary:Package} ')
OLDIFS=$IFS
IFS=" "
for package in $(curl -s -F "id=$id" http://$config_se4fs_name.$config_domain/wpkg/linux_out.php); do
for package in $(curl -s -F "id=$id" http://###_SE4FS_NAME_###.###_DOMAIN_###/wpkg/linux_out.php); do
echo $packages | grep -q "^${package}$" || DEBIAN_FRONTEND=noninteractive apt-get install -y $package || true
done
IFS=$OLDIFS
......
Supports Markdown
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