summarylogtreecommitdiffstats
path: root/stc-isp-bin.install
diff options
context:
space:
mode:
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 {} \;
+}