File: firmware-microbit-micropython-dl.prerm

package info (click to toggle)
python-uflash 1.2.4%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 324 kB
  • sloc: python: 773; makefile: 218; sh: 79
file content (12 lines) | stat: -rwxr-xr-x 225 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

HEXFILE=/usr/share/firmware-microbit-micropython/firmware.hex

if [ "$1" = "remove" -o "$1" = "purge" ]; then
    echo "Deleting downloaded MicroPython runtime: $HEXFILE"
    rm -f $HEXFILE
fi

#DEBHELPER#