mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
562 B

  1. if [ "$prefix_auto" = 1 ] ; then
  2. if [ "$NO_SANITY_CHECK" ] ; then
  3. prefix=$ROCKCFG_PKG_XFCE4_CORE_PREFIX
  4. else
  5. for dir in usr opt/xfce4 $ROCKCFG_PKG_XFCE4_CORE_PREFIX ; do
  6. [ -f "$root/$dir/lib/libxfce4util.so.1" ] && prefix="$dir"
  7. done
  8. [ ! -f "$root/$prefix/lib/libxfce4util.so.1" ] &&
  9. abort "libxfce4util is not installed (in prefix $prefix)!"
  10. fi
  11. set_confopt
  12. fi
  13. # It already uses a subdirectory
  14. sysconfdir="${sysconfdir%xfce4}"
  15. # Several packages install fr docs
  16. [ "$ROCKCFG_DISABLE_NLS" = 1 ] && postmake="rm -rf $datadir/xfce4/doc/??{,_??}"