svn commit: r709331 - in /ofbiz/trunk/debian: move-files.pl ofbiz.postinst ofbiz.prerm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r709331 - in /ofbiz/trunk/debian: move-files.pl ofbiz.postinst ofbiz.prerm

doogie-3
Author: doogie
Date: Thu Oct 30 20:03:30 2008
New Revision: 709331

URL: http://svn.apache.org/viewvc?rev=709331&view=rev
Log:
No longer redirect the files thru the alternatives system.

Modified:
    ofbiz/trunk/debian/move-files.pl
    ofbiz/trunk/debian/ofbiz.postinst
    ofbiz/trunk/debian/ofbiz.prerm

Modified: ofbiz/trunk/debian/move-files.pl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/move-files.pl?rev=709331&r1=709330&r2=709331&view=diff
==============================================================================
--- ofbiz/trunk/debian/move-files.pl (original)
+++ ofbiz/trunk/debian/move-files.pl Thu Oct 30 20:03:30 2008
@@ -84,12 +84,9 @@
  } else {
  _mkdir($target) || die("c");
  }
- _mkdir(basename("$base/usr/share/ofbiz/dist/$file")) || die("d");
- symlink("$destdir/$file", "$base/usr/share/ofbiz/dist/$file") || die("e");
-
  my $symlink = "$base/usr/share/ofbiz/$file";
  _mkdir(basename($symlink));
- symlink("/usr/share/ofbiz/alternative/$file", $symlink) || die("f: $symlink: $!");
+ symlink("$destdir/$file", $symlink) || die("f: $symlink: $!");
 }
 system('rm', '-rf', 'debian/ofbiz', 'debian/ofbiz-specialpurpose');
 

Modified: ofbiz/trunk/debian/ofbiz.postinst
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.postinst?rev=709331&r1=709330&r2=709331&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz.postinst (original)
+++ ofbiz/trunk/debian/ofbiz.postinst Thu Oct 30 20:03:30 2008
@@ -178,11 +178,6 @@
  adduser --quiet --group --no-create-home --system --home /var/lib/ofbiz ofbiz
  fi
  fi
- update-alternatives --install \
- /usr/share/ofbiz/alternative \
- ofbiz-alternative \
- /usr/share/ofbiz/dist \
- 1000
  cat << _EOF_ > /etc/ofbiz/debconf.cfg.dpkg-new
 ofbiz_readers='$ofbiz_readers'
 ofbiz_from_email='$ofbiz_from_email'

Modified: ofbiz/trunk/debian/ofbiz.prerm
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.prerm?rev=709331&r1=709330&r2=709331&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz.prerm (original)
+++ ofbiz/trunk/debian/ofbiz.prerm Thu Oct 30 20:03:30 2008
@@ -29,14 +29,6 @@
  ;;
 esac
 
-case "$1" in
- (remove|deconfigure)
- update-alternatives --remove \
- ofbiz-alternative \
- /usr/share/ofbiz/dist
- ;;
-esac
-
 #DEBHELPER#