aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-06-12 10:24:07 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-06-12 10:24:31 +0300
commit3ef23d3a1fbf9a1bd3a1c5c9b13e8b2206da561c (patch)
tree655224b6e35ae5d148bb01fb8363ca504dc49911 /main/musl
parent393617ed68909ee676e3d5327d1ea5802b6789e3 (diff)
downloadaports-3ef23d3a1fbf9a1bd3a1c5c9b13e8b2206da561c.tar.bz2
aports-3ef23d3a1fbf9a1bd3a1c5c9b13e8b2206da561c.tar.xz
main/musl: add the upgrade script
Diffstat (limited to 'main/musl')
-rw-r--r--main/musl/musl.post-install6
l---------main/musl/musl.post-upgrade1
2 files changed, 7 insertions, 0 deletions
diff --git a/main/musl/musl.post-install b/main/musl/musl.post-install
new file mode 100644
index 0000000000..9a86fd0734
--- /dev/null
+++ b/main/musl/musl.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ! [ -e /etc/localtime ] && [ -e /etc/zoneinfo/localtime ]; then
+ mv /etc/zoneinfo/localtime /etc/localtime
+fi
+
diff --git a/main/musl/musl.post-upgrade b/main/musl/musl.post-upgrade
new file mode 120000
index 0000000000..aae353b175
--- /dev/null
+++ b/main/musl/musl.post-upgrade
@@ -0,0 +1 @@
+musl.post-install \ No newline at end of file