Commit 310fec35 authored by Denis Bonnenfant's avatar Denis Bonnenfant
Browse files

optimisation wpkg

parent 9c56dd66
sambaedu-wpkg (4.8.16) UNRELEASED; urgency=medium
sambaedu-wpkg (4.8.17) UNRELEASED; urgency=medium
[ Denis Bonnenfant ]
* Paquets stables
......@@ -11,7 +11,7 @@ sambaedu-wpkg (4.8.16) UNRELEASED; urgency=medium
* Nouvelle version stable avec support DC secondaire
* Nouvelle version stable avec support DC secondaire
-- denis <denis@bureau> Thu, 31 Mar 2022 15:35:34 +0200
-- denis <denis@bureau> Thu, 31 Mar 2022 16:34:57 +0200
sambaedu-wpkg (4.0.0~beta69) UNRELEASED; urgency=medium
......
sambaedu-wpkg_4.8.16_all.deb net extra
sambaedu-wpkg_4.8.16_amd64.buildinfo net extra
sambaedu-wpkg_4.8.17_all.deb net extra
sambaedu-wpkg_4.8.17_amd64.buildinfo net extra
echo "Installation des logiciels via wpkg"
packages=$(dpkg-query -W --showformat '${binary:Package} ')
OLDIFS=$IFS
IFS=" "
for package in $(echo -n "$local_packages "; 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
#packages=$(dpkg-query -W --showformat '${binary:Package} ')
DEBIAN_FRONTEND=noninteractive apt-get install -y -q $(echo -n "$local_packages "; curl -s -F "id=$id" http://###_SE4FS_NAME_###.###_DOMAIN_###/wpkg/linux_out.php)
DEBIAN_FRONTEND=noninteractive apt-get full-upgrade -y -q
#OLDIFS=$IFS
#IFS=" "
#for package in $(echo -n "$local_packages "; 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