mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Cleanup
This commit is contained in:
parent
2541cc6dee
commit
200ee61a7c
@ -362,7 +362,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<tr>
|
||||
<th>Addon name</th>
|
||||
<th>Installed version</th>
|
||||
<th class="center aligned">Available version</th>
|
||||
<th>Available version</th>
|
||||
<th class="center aligned">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
10
rmupdate
10
rmupdate
@ -6,13 +6,7 @@ ADDON_DIR=/usr/local/addons/${ADDON_NAME}
|
||||
RCD_DIR=${CONFIG_DIR}/rc.d
|
||||
|
||||
case "$1" in
|
||||
""|start)
|
||||
# Remove stale lockfile
|
||||
[ -e /usr/local/addons/rmupdate/var/install.lock ] && rm /usr/local/addons/rmupdate/var/install.lock
|
||||
echo "Done."
|
||||
;;
|
||||
|
||||
stop|restart)
|
||||
stop|start|restart)
|
||||
echo "Nothing to do."
|
||||
;;
|
||||
|
||||
@ -20,7 +14,7 @@ case "$1" in
|
||||
version=$(cat ${ADDON_DIR}/VERSION)
|
||||
echo "Info: <b>${ADDON_NAME} addon</b><br>"
|
||||
echo "Info: <a href='https://github.com/j-a-n/raspberrymatic-addon-rmupdate'>https://github.com/j-a-n/raspberrymatic-addon-rmupdate</a>"
|
||||
echo "Name: RaspberryMatic update"
|
||||
echo "Name: RaspberryMatic Update"
|
||||
echo "Version: ${version}"
|
||||
echo "Operations: uninstall"
|
||||
echo "Config-Url: /addons/${ADDON_NAME}"
|
||||
|
Loading…
Reference in New Issue
Block a user