Commit bfea54d4 authored by satmandu's avatar satmandu Committed by GitHub

change ternary (#5553)

parent f21ec212
...@@ -41,7 +41,8 @@ class Wine < Package ...@@ -41,7 +41,8 @@ class Wine < Package
depends_on 'xdg_base' depends_on 'xdg_base'
depends_on 'sommelier' depends_on 'sommelier'
@xdg_config_home = empty?(ENV['XDG_CONFIG_HOME']) ? "#{CREW_PREFIX}/.config" : ENV['XDG_CONFIG_HOME'] @xdg_config_home = ENV['XDG_CONFIG_HOME']
@xdg_config_home = "#{CREW_PREFIX}/.config" if @xdg_config_home.to_s.empty?
def self.build def self.build
case ARCH case ARCH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment