[UPDATE] - man pagfe

This commit is contained in:
2022-03-18 11:09:26 +01:00
parent 3afefd1e28
commit ae439aed2d
22 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
client/web/index.html client/web/index.html
build build/*
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -43,7 +43,7 @@ BuildDeb(){
echo -n "Gen monithor-${1} [$2] : " echo -n "Gen monithor-${1} [$2] : "
cd /tmp/ &> /dev/null cd /tmp/ &> /dev/null
Dist=$(lsb_release -a 2> /dev/null | grep Distributor |awk '{print $NF}' |tr '[:upper:]' '[:lower:]') Dist=$(lsb_release -a 2> /dev/null | grep Distributor |awk '{print $NF}' |tr '[:upper:]' '[:lower:]')
[[ $Dist == "ubuntu" ]] && Compress=' -z 0' [[ $Dist == "ubuntu" ]] && Compress=' -Z gzip -S fixed '
dpkg-deb ${Compress} --build --root-owner-group monithor-${1}_${2}_all &> /dev/null dpkg-deb ${Compress} --build --root-owner-group monithor-${1}_${2}_all &> /dev/null
[[ "$?" -eq "0" ]] && echo "OK" || echo "FAILED" [[ "$?" -eq "0" ]] && echo "OK" || echo "FAILED"
@@ -60,6 +60,7 @@ ManPage() {
if [[ $2 == "create" ]] if [[ $2 == "create" ]]
then then
pandoc -s -t man ${Wai}/doc/monithor-${1}.md -o ${Wai}/doc/monithor-${1}.1 pandoc -s -t man ${Wai}/doc/monithor-${1}.md -o ${Wai}/doc/monithor-${1}.1
[[ -f ${Wai}/doc/monithor-${1}.1.gz ]] && rm -f ${Wai}/doc/monithor-${1}.1.gz
gzip ${Wai}/doc/monithor-${1}.1 gzip ${Wai}/doc/monithor-${1}.1
cp ${Wai}/doc/monithor-${1}.1.gz ${Wai}/monithor-${1}/usr/local/man/fr/man1/ cp ${Wai}/doc/monithor-${1}.1.gz ${Wai}/monithor-${1}/usr/local/man/fr/man1/
fi fi
@@ -83,7 +84,6 @@ ManPage client create
ManPage server create ManPage server create
BuildDeb client $NewTag BuildDeb client $NewTag
BuildDeb server $NewTag BuildDeb server $NewTag
ManPage client delete #ManPage client delete
ManPage server delete #ManPage server delete
CleanTemp CleanTemp
+5 -1
View File
@@ -1,3 +1,7 @@
#!/bin/bash #!/bin/bash
mandb echo "Update man page"
mandb 2>&1 > /dev/null
echo "Fin d'installation"
+5 -1
View File
@@ -1,3 +1,7 @@
#!/bin/bash #!/bin/bash
mandb echo "Update man page"
mandb 2>&1 > /dev/null
echo "Fin d'installation"
+5 -1
View File
@@ -1,3 +1,7 @@
#!/bin/bash #!/bin/bash
mandb echo "Update man page"
mandb 2>&1 > /dev/null
echo "Fin d'installation"
+5 -1
View File
@@ -1,3 +1,7 @@
#!/bin/bash #!/bin/bash
mandb echo "Update man page"
mandb 2>&1 > /dev/null
echo "Fin d'installation"