Sha256: b617c683f264004edc686ec02d4d4f6234fbc66d1a30cf3f98d18d480d54befe

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

require 'fileutils'

dir = File.expand_path(File.dirname(File.dirname(__FILE__)))

$froot = File.join(dir, 'fixtures/fakeroot/')

p $froot

#
ENV['HOME']            = $froot + 'home/joe'
#ENV['XDG_DATA_HOME']   = $froot + '.local/share'
ENV['XDG_DATA_DIRS']   = $froot + 'usr/share'
#ENV['XDG_CONFIG_HOME'] = $froot + '.config'
ENV['XDG_CONFIG_DIRS'] = $froot + 'etc/xdg' + ':' + $froot + 'etc'
#ENV['XDG_CACHE_HOME']  = $froot + '.cache'
ENV['XDG_CACHE_DIRS']  = $froot + 'tmp'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xdg-2.2.1 qed/applique/fakeroot.rb
xdg-2.2.0 qed/applique/fakeroot.rb
xdg-2.1.0 qed/applique/fakeroot.rb