We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25a6b79 + f517f41 commit b620740Copy full SHA for b620740
ondemand/initializers/dashboard.rb
@@ -5,17 +5,3 @@
5
unless Dir.exists?(dest)
6
FileUtils.copy_entry src, dest
7
end
8
-
9
-load_scl = <<EOF
10
11
-if [[ ${HOSTNAME%%.*} == ondemand ]]
12
-then
13
- source scl_source enable ondemand
14
-fi
15
16
-EOF
17
18
-profile = File.join(Dir.home, ".bash_profile")
19
-if File.file?(profile) && File.readable?(profile) && File.writable?(profile) && ! File.read(profile).include?("source scl_source enable ondemand")
20
- File.open(profile, "a") {|f| f.write(load_scl) }
21
-end
0 commit comments