churchyard / rpms / byobu

Forked from rpms/byobu 2 years ago
Clone
Blob Blame History Raw
--- byobu-select-profile.old	2011-01-05 16:53:53.430622524 +0100
+++ usr/bin/byobu-select-profile	2011-01-05 16:54:02.313720078 +0100
@@ -28,6 +28,10 @@
 export BYOBU_PREFIX
 [ -r "/etc/$PKG/socketdir" ] && . "/etc/$PKG/socketdir" || SOCKETDIR="/var/run/screen"
 
+if [[ ! -d "$DATA" ]]; then
+    mkdir $DATA
+fi
+
 TEXTDOMAIN="$PKG"
 
 COLORS="default_light \