24 lines
		
	
	
		
			784 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			784 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# trying the "portable install" option; using this launch script to point to that
 | 
						|
source "$XDG_CONFIG_HOME/zsh/.zshenv"
 | 
						|
 | 
						|
reaper_portable_exec_linux="$DIR_REAPER_PORTABLE_LINUX/REAPER/reaper"
 | 
						|
[[ ! -x "$reaper_portable_exec_linux" ]] && {
 | 
						|
    echo "reaper missing or not executable: $reaper_portable_exec_linux" >&2
 | 
						|
    exit 1
 | 
						|
}
 | 
						|
 | 
						|
reaper_portable_config_linux="$DIR_REAPER_PORTABLE_LINUX/config"
 | 
						|
reaper_portable_ini_file_linux="$reaper_portable_config_linux/reaper.ini"
 | 
						|
[[ ! -r "$reaper_portable_ini_file_linux" ]] && {
 | 
						|
    [[ ! -d "$reaper_portable_config_linux" ]] && mkdir -p "$reaper_portable_config_linux"
 | 
						|
    touch "$reaper_portable_ini_file_linux"
 | 
						|
}
 | 
						|
 | 
						|
nohup \
 | 
						|
    $reaper_portable_exec_linux \
 | 
						|
    -cfgfile $reaper_portable_ini_file_linux \
 | 
						|
    > /dev/null 2>&1 \
 | 
						|
    &
 |