44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
|
remove bashism
|
||
|
fix default config file path
|
||
|
use some sane defaults for menu/launchbar apps: that's a best effort
|
||
|
task :-)
|
||
|
|
||
|
Index: exec/make_profile.in
|
||
|
--- exec/make_profile.in.orig
|
||
|
+++ exec/make_profile.in
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-#!/bin/bash
|
||
|
+#!/bin/sh
|
||
|
|
||
|
umask 0077
|
||
|
# new profile directory
|
||
|
@@ -42,24 +42,24 @@ fi
|
||
|
# Creates new profile using system profile as template
|
||
|
# $1 - system profile name
|
||
|
# $2 - destination profile name
|
||
|
-function take_system_profile ()
|
||
|
+take_system_profile ()
|
||
|
{
|
||
|
[ -r "$spdir/$1" ] || return 1
|
||
|
|
||
|
local browser terminal filer
|
||
|
- for browser in x-www-browser firefox opera; do
|
||
|
+ for browser in firefox chrome iridium midori epiphany xombrero ; do
|
||
|
if which $browser 2> /dev/null > /dev/null; then
|
||
|
opt="$opt -e s/x-www-browser/$browser/"
|
||
|
break
|
||
|
fi
|
||
|
done
|
||
|
- for terminal in x-terminal urxvt gnome-terminal; do
|
||
|
+ for terminal in urxvt xfce4-terminal gnome-terminal konsole roxterm st xterm ; do
|
||
|
if which $terminal 2> /dev/null > /dev/null; then
|
||
|
opt="$opt -e s/x-terminal/$terminal/"
|
||
|
break
|
||
|
fi
|
||
|
done
|
||
|
- for filer in x-file-manager thunar pcmanfm rox; do
|
||
|
+ for filer in thunar nautilus dolphin pcmanfm xfe emelfm2 rox konqueror krusader ; do
|
||
|
if which $filer 2> /dev/null > /dev/null; then
|
||
|
opt="$opt -e s/x-file-manager/$filer/"
|
||
|
break
|