summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-10-25 16:45:21 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-10-25 16:46:51 +0200
commit050ab42fa8fd55d4e38442a915c78002d3fb0dcc (patch)
treea05b082b3c1bba0274ddffb452fb90d8a62fb47d /packages
parent83fbcc67bc966e880346cb5fe9585fe74dc51617 (diff)
base-system: remove the preinstall hack to get rid of the old 2012.5 link
Diffstat (limited to 'packages')
-rw-r--r--packages/base-system.package (renamed from packages/base-system/base-system.package)0
-rwxr-xr-xpackages/base-system/preinstall30
2 files changed, 0 insertions, 30 deletions
diff --git a/packages/base-system/base-system.package b/packages/base-system.package
index 0eed430..0eed430 100644
--- a/packages/base-system/base-system.package
+++ b/packages/base-system.package
diff --git a/packages/base-system/preinstall b/packages/base-system/preinstall
deleted file mode 100755
index ee07c60..0000000
--- a/packages/base-system/preinstall
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-prefix=$2
-
-old_sdk=$prefix/../../2012.5
-new_sdk=$prefix/../../0.10
-
-sudo pkgutil --regexp --forget gstreamer*
-sudo pkgutil --regexp --forget gtk*
-sudo pkgutil --regexp --forget gobject*
-sudo pkgutil --regexp --forget base-system*
-sudo pkgutil --forget osx-framework
-sudo pkgutil --forget snappy
-
-if [ -d "$old_sdk" ]; then
- if [ -L "$old_sdk" ]; then
- exit 0
- else
- sudo cp -r "$old_sdk/*" "$new_sdk"
- fi
-fi
-
-if [ ! -d "$new_sdk" ]; then
- sudo mkdir -p "$new_sdk"
-fi
-
-sudo rm -rf "$old_sdk"
-sudo ln -s "$new_sdk" "$old_sdk"
-
-exit 0