mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
added install command to action script
This commit is contained in:
parent
08b0f37527
commit
7cb98f2122
@ -211,6 +211,18 @@ case $cmd in
|
||||
echo "no update recorded since last config change"
|
||||
fi
|
||||
;;
|
||||
install)
|
||||
cd /tmp/ && apt-get download ${TOOLNAME}
|
||||
dpkg --unpack ${TOOLNAME}*.deb
|
||||
rm /var/lib/dpkg/info/${TOOLNAME}.postinst
|
||||
dpkg --configure ${TOOLNAME}
|
||||
apt-get install -yf
|
||||
rm ${TOOLNAME}*.deb
|
||||
cd -
|
||||
;;
|
||||
uninstall)
|
||||
apt-get -y remove --purge ez-ipupdate
|
||||
;;
|
||||
get-installed)
|
||||
if [ ! -z ${UPDATE_TOOL} ];then
|
||||
echo "installed"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user