summaryrefslogtreecommitdiff
path: root/flatpak/activate-hs.patch
blob: e56731a950bd54f9dd119c1489e4a6089cd0c651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
 
 
 ###