#!/bin/sh

#DIRS="*"
DIRS="bin boot dev etc lib local mnt root sbin tmp usr var"

# this will extract/update all files
time jur-unpack $*

# generate a listing of all files and compare them to the files that
# are on the filesystem to have a list of all files that are not in
# a binary package.
# this feature will be moved into "jur-unpack" in the future...
( find $DIRS | sort 
  jur-unpack -l 2>&1 | grep -v "current binary package" | sort -u
) | sort | uniq -u > var/jurix/not_in_package
