Changeset 1205


Ignore:
Timestamp:
01/10/12 12:33:14 (4 months ago)
Author:
tschmitt
Message:
  • linuxmuster-patch: stellt sicher, dass bei Wechsel des Imagingsystem mit --modify, die entsprechenchende Software installiert ist.
Location:
main/linuxmuster-base/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-base/trunk/debian/changelog

    r1204 r1205  
    66      upgrade problems, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454557 
    77      (closes #560). 
    8  
    9  -- Thomas Schmitt <schmitt@lmz-bw.de>  Tue, 10 Jan 2012 11:34:32 +0100 
     8  * linuxmuster-patch: 
     9    - ensures the right imaging task is installed if imaging is changed in modify mode. 
     10 
     11 -- Thomas Schmitt <schmitt@lmz-bw.de>  Tue, 10 Jan 2012 12:31:32 +0100 
    1012 
    1113linuxmuster-base (5.1.0-2lenny0) lenny; urgency=low 
  • main/linuxmuster-base/trunk/share/scripts/linuxmuster-patch

    r1174 r1205  
    2929done 
    3030 
    31 # installs rembo 
    32 if [ "$imaging" = "rembo" ]; then 
    33         echo 'DPkg::Options {"--force-confold";"--force-confdef";"--force-bad-verify";"--force-overwrite";};' > /etc/apt/apt.conf.d/99upgrade 
    34         task=`cat /usr/share/linuxmuster/tasks/imaging-$imaging` 
    35         export DEBIAN_FRONTEND=noninteractive 
    36         echo -n "Ja\nJa\n" | aptitude -y install $task | tee -a $LOGDIR/setup.log 
    37         rm /etc/apt/apt.conf.d/99upgrade 
    38 fi 
    39  
    4031# escaping special characters in passwords 
    4132esc_spec_chars "$adminpw" 
     
    5142adminpw_md5=`echo -n $adminpw | md5sum | cut -c -32` 
    5243 
    53 # reading old values 
     44# only in modify mode 
    5445if [ "$1" != "--first" ]; then 
    55   echo "Checking for modified values ..." 
    56   . $OLDVALUES || exit 1 
    57   rm $OLDVALUES 
     46 # to be sure imaging packages are installed in case of imaging change 
     47 linuxmuster-task --unattended --install=imaging-$imaging 
     48 
     49 # reading old values 
     50 echo "Checking for modified values ..." 
     51 . $OLDVALUES || exit 1 
     52 rm $OLDVALUES 
    5853fi 
    5954 
Note: See TracChangeset for help on using the changeset viewer.