summarylogtreecommitdiffstats
path: root/stc-isp-bin.install
diff options
context:
space:
mode:
authortaotieren2021-06-12 17:40:57 +0800
committertaotieren2021-06-12 17:40:57 +0800
commit4baae8c966015fcd4ab5935382a79161871502ad (patch)
tree725051ab32c4ed3d37d22c31693e8ca695f93f03 /stc-isp-bin.install
downloadaur-stc-isp-bin.tar.gz
Update STC-ISP
Diffstat (limited to 'stc-isp-bin.install')
-rw-r--r--stc-isp-bin.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/stc-isp-bin.install b/stc-isp-bin.install
new file mode 100644
index 000000000000..32dad0f32fec
--- /dev/null
+++ b/stc-isp-bin.install
@@ -0,0 +1,15 @@
+info() {
+ echo -e "STC-ISP 下载编程烧录软件"
+}
+post_install() {
+ info
+}
+post_upgrade() {
+ echo "deleting the stc-isp bottle..."
+ find /home -maxdepth 2 -name ".stc-isp" -exec rm -rf {} \;
+ info
+}
+pre_remove() {
+ echo "deleting the stc-isp bottle..."
+ find /home -maxdepth 2 -name ".stc-isp" -exec rm -rf {} \;
+}