summaryrefslogtreecommitdiff
path: root/pcr/debootstrap/debootstrap.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 19:01:58 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-02 19:01:58 -0300
commitf0d435b2b7ece4750734fff37c2d6c46e69b5b37 (patch)
treeff490c11d4731097b58db0fa325adb44a2b80cc8 /pcr/debootstrap/debootstrap.install
parent9a32f5e3dc833908d4156d1912c30545fd063bcc (diff)
downloadabslibre-f0d435b2b7ece4750734fff37c2d6c46e69b5b37.tar.gz
abslibre-f0d435b2b7ece4750734fff37c2d6c46e69b5b37.tar.bz2
abslibre-f0d435b2b7ece4750734fff37c2d6c46e69b5b37.zip
debootstrap-1.0.60-1.parabola1: updating version, remove libre suffix and add complex pkgrel
Diffstat (limited to 'pcr/debootstrap/debootstrap.install')
-rw-r--r--pcr/debootstrap/debootstrap.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/debootstrap/debootstrap.install b/pcr/debootstrap/debootstrap.install
new file mode 100644
index 000000000..3da2f1d22
--- /dev/null
+++ b/pcr/debootstrap/debootstrap.install
@@ -0,0 +1,14 @@
+post_install() {
+ if [ "$(uname -m)" = "x86_64" ]; then
+ darch="amd64"
+ elif [ "$(uname -m)" = "i686" ]; then
+ darch="i386"
+ else
+ darch="mips64el"
+ fi
+ echo "$darch" > /usr/share/debootstrap/arch
+}
+
+pre_remove() {
+ rm -f /usr/share/debootstrap/arch
+}