Ignore:
Timestamp:
02/11/14 01:49:26 (7 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
3f6d079
Parents:
521677a
Message:

Simplify DE profiles. Now profile may be fully declarative

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/de-info/de-profiles/lxde.profile

    r04d2faf rdea54da  
    22DE_NAME="LXDE" 
    33XDG="YES" 
     4 
     5DE_SESSION_NAME="LXDE" 
     6DE_METAPACKAGE="LXDE" 
     7DE_INSTALL_FILE="startlxde" 
     8 
    49DE_FILEMAN="pcmanfm %s" 
    510DE_TERMINAL="lxterminal" 
    611DE_TERMINAL_TITLE="-T" 
    712DE_TERMINAL_COMMAND="-e" 
    8 DE_SESSION_NAME="LXDE" 
    913 
    10 active() 
    11 { 
    12 if [ "$DESKTOP_SESSION" = "LXDE" ] || [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
    13 DE_ACTIVE=1 
    14 fi 
    15 } 
    16  
    17 installed() 
    18 { 
    19 # Check via pc-metapkgmanager if it exists 
    20 which pc-metapkgmanager >/dev/null 2>/dev/null 
    21 if [ $? -eq 0 ] ; then 
    22   pc-metapkgmanager status LXDE | grep "is installed" >/dev/null 
    23   if [ $? -eq 0 ] ; then 
    24     DE_INSTALLED=1 
    25   fi 
    26 else 
    27   which startlxde >/dev/null 2>/dev/null 
    28   if [ $? -eq 0 ] ; then 
    29     DE_INSTALLED=1 
    30   fi 
    31 fi 
    32 } 
Note: See TracChangeset for help on using the changeset viewer.