Add main script debmaker

Fix : use original date file in deb
Update version of application : authelia element-web mautrix-whatsapp
This commit is contained in:
thomas 2022-03-19 05:53:30 +01:00
parent 7a89000f9d
commit 3deb21e79d
1 changed files with 38 additions and 0 deletions

38
debmaker Executable file
View File

@ -0,0 +1,38 @@
#!/bin/bash
case $1 in
list)
ls ressources;;
run)
if [ -e ressources/$2/debmaker ]
then
. ressources/$2/debmaker
debmaker_run
else
echo no $2 project
fi
;;
edit)
if [ -e ressources/$2/debmaker ]
then
nano ressources/$2/debmaker
else
echo no $2 project
fi
;;
chroot)
if [ -e ressources/$2/debmaker ]
then
if [ -e cache/$2 ]
then
. ressources/$2/debmaker
debmaker_chroot cache/$2
else
echo no cache file
fi
else
echo no $2 project
fi
;;
*)
echo debmaker [list] [chroot app] [run <app>] [edit <app>];;
esac