Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SambaEdu
se3-wpkg
Commits
acba7ea8
Commit
acba7ea8
authored
Dec 01, 2017
by
franck molle
Browse files
change on wsusoffline script - new version 0.91
parent
d535fc96
Changes
2
Hide whitespace changes
Inline
Side-by-side
sources/debian/changelog
View file @
acba7ea8
se3-wpkg (0.91~) unstable; urgency=low
* Modification du fonctionnement de wsusoffline-download.sh si l'application n'est pas active dans l'interface
-- Franck Molle <franck.molle@sambaedu.org> Fri, 01 Dec 2017 22:50:20 +0200
se3-wpkg (0.90) unstable; urgency=low
* Correctif sur le code php pourri
...
...
sources/scripts/wsusoffline-download.sh
View file @
acba7ea8
...
...
@@ -133,14 +133,16 @@ WSUSACTIF="$(grep wsusoffline /var/se3/unattended/install/wpkg/profiles.xml)"
WSUSPRESENNT
=
"
$(
grep
wsusoffline /var/se3/unattended/install/wpkg/packages.xml
)
"
if
[
-z
"
$WSUSACTIF
"
]
&&
[
-n
"
$WSUSPRESENNT
"
]
;
then
echo
"Wsus présent ma
s
i pas actif, sortie du script"
#
exit 0
echo
"Wsus présent mai
s
pas actif, sortie du script"
exit
0
fi
}
TESTFREESPACE
PRESENCEXML
########### Suppression de l'ancien fichier temoin "version.txt" ###########
[
-e
/var/se3/unattended/install/wsusoffline/version.txt
]
&&
rm
-f
/var/se3/unattended/install/wsusoffline/version.txt
[
-e
/var/se3/unattended/install/wsusoffline/Version.txt
]
&&
rm
-f
/var/se3/unattended/install/wsusoffline/Version.txt
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment