Be sure that only the tracking file for the just installed package version is left on TRACKING_DIR.

This commit is contained in:
Manuel Canales Esparcia 2006-08-26 09:31:16 +00:00
parent d8851cfe33
commit 423c2295d9

View file

@ -55,7 +55,8 @@ __wrt_touch() { #
if [[ -n "$pkg_ver" ]] ; then if [[ -n "$pkg_ver" ]] ; then
( (
cat << EOF cat << EOF
@touch \$(TRACKING_DIR)/${pkg_name#*-?-}-${pkg_ver} @rm -f \$(TRACKING_DIR)/${pkg_name#*-?-}-{0..9}* && \\
touch \$(TRACKING_DIR)/${pkg_name#*-?-}-${pkg_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
fi fi
@ -64,21 +65,24 @@ EOF
*-alsa-lib ) #this the unique mandatory package for ALSA support. *-alsa-lib ) #this the unique mandatory package for ALSA support.
( (
cat << EOF cat << EOF
@touch \$(TRACKING_DIR)/alsa-${alsa_ver} @rm -f \$(TRACKING_DIR)/alsa-{0..9}* && \\
touch \$(TRACKING_DIR)/alsa-${alsa_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
;; ;;
*-kdebase ) *-kdebase )
( (
cat << EOF cat << EOF
@touch \$(TRACKING_DIR)/kde-core-${kde_core_ver} @rm -f \$(TRACKING_DIR)/kde-core-{0..9}* && \\
touch \$(TRACKING_DIR)/kde-core-${kde_core_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
;; ;;
*-xorg7-driver ) # xtrerm2 and rman are optional *-xorg7-driver ) # xtrerm2 and rman are optional
( (
cat << EOF cat << EOF
@touch \$(TRACKING_DIR)/xorg7-${xorg7_ver} @rm -f \$(TRACKING_DIR)/xorg7-{0..9}* && \\
touch \$(TRACKING_DIR)/xorg7-${xorg7_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
;; ;;
@ -134,7 +138,8 @@ __write_meta_pkg_touch() { #
cat << EOF cat << EOF
999-z-$meta_pkg: $PREV_PACKAGE 999-z-$meta_pkg: $PREV_PACKAGE
@touch \$(TRACKING_DIR)/${meta_pkg}-${pkg_ver} @rm -f \$(TRACKING_DIR)/${meta_pkg}-{0..9}* && \\
touch \$(TRACKING_DIR)/${meta_pkg}-${pkg_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
@ -142,14 +147,16 @@ EOF
gnome-full ) gnome-full )
( (
cat << EOF cat << EOF
@touch \$(TRACKING_DIR)/gnome-core-${gnome_core_ver} @rm -f \$(TRACKING_DIR)/gnome-core-{0..9}* && \\
touch \$(TRACKING_DIR)/gnome-core-${gnome_core_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
;; ;;
kde-koffice ) kde-koffice )
( (
cat << EOF cat << EOF
@touch \$(TRACKING_DIR)/kde-full-${kde_full_ver} @rm -f \$(TRACKING_DIR)/kde-full-{0..9}* && \\
touch \$(TRACKING_DIR)/kde-full-${kde_full_ver}
EOF EOF
) >> $MKFILE.tmp ) >> $MKFILE.tmp
;; ;;