summaryrefslogtreecommitdiff
path: root/flatpak/activate-hs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'flatpak/activate-hs.patch')
-rw-r--r--flatpak/activate-hs.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/flatpak/activate-hs.patch b/flatpak/activate-hs.patch
new file mode 100644
index 0000000..e56731a
--- /dev/null
+++ b/flatpak/activate-hs.patch
@@ -0,0 +1,23 @@
+--- haskell-platform-8.0.2-unknown-posix--full-x86_64/usr/local/haskell/ghc-8.0.2-x86_64/bin/activate-hs.orig 2017-07-20 09:23:35.143426913 +0100
++++ haskell-platform-8.0.2-unknown-posix--full-x86_64/usr/local/haskell/ghc-8.0.2-x86_64/bin/activate-hs 2017-07-20 09:24:13.346444238 +0100
+@@ -80,13 +80,13 @@
+ ### Root check
+ ###
+
+-if [ "$dryrun" = "no" -a `id -u` -ne 0 ]
+-then
+- echo "You must be root to activate a particular Haskell Platform."
+- echo "Please rerun this command sudo:"
+- echo " sudo $0 $originalArgs"
+- exit 1
+-fi
++# if [ "$dryrun" = "no" -a `id -u` -ne 0 ]
++# then
++# echo "You must be root to activate a particular Haskell Platform."
++# echo "Please rerun this command sudo:"
++# echo " sudo $0 $originalArgs"
++# exit 1
++# fi
+
+
+ ###