Changeset 2322
- Timestamp:
- 04/22/07 23:45:25 (2 years ago)
- Files:
-
- main/trunk/ChangeLog (modified) (1 diff)
- main/trunk/makepackage (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
main/trunk/ChangeLog
r2318 r2322 1 Mon Apr 23 03:40:54 UTC 2007 Taj Morton <tajmorton@gmail.com> 2 * makepackage: Warn about lack of apkg support code instead of failing 3 silently. Thanks Eugene Zolenko. Fixes #15. 4 1 5 Sun Apr 8 01:26:32 UTC 2007 Curtis L. Knight <knighcl@gmail.com> 2 6 * share/apkg-bashlib: [stripDupedItems] Update function to pass unit test main/trunk/makepackage
r2280 r2322 1344 1344 # if making a sealed installer package - add packages to $metadata_dir 1345 1345 # support code package is required to be included in the packages directory - gtkfe inclusion is highly recommended 1346 if [ -d "$source_dir/autopackage/packages" ]; then 1347 ls_1=`ls "$source_dir/autopackage/packages" | wc -l` 1348 if (( ls_1 > 0 )) && [ -f "$source_dir/autopackage/packages/autopackage.tar.bz2" ] && [ -f "$source_dir/autopackage/packages/autopackage-gtk-$autopackage_version.package" ]; then 1349 cp -Rfv "$source_dir/autopackage/packages" "$metadata_dir" 1350 elif [ ! -f "$source_dir/autopackage/packages/autopackage.tar.bz2" ]; then 1351 red; outn "FAIL: "; normal; out "Using this package as a sealed installer requires that %s is included in the autopackage/packages directory." "autopackage.tar.bz2"; 1346 if ! dirIsEmpty "$source_dir/autopackage/packages"; then 1347 normal; out "Making sealed package." 1348 if [ ! -f "$source_dir/autopackage/packages/autopackage.tar.bz2" ]; then 1349 red; outn "FAIL: "; normal; out "Using this package as a sealed installer requires that autopackage.tar.bz2 is included in the autopackage/packages directory." 1352 1350 exit 1 1353 1351 fi 1354 fi 1355 1352 1353 if [ ! -f "$source_dir/autopackage/packages/autopackage-gtk-$autopackage_version.package" ]; then 1354 red; outn "WARNING: "; normal; out "When using this package as a sealed installer, it's highly recommended that %s is included in the autopackage/packages directory." "autopackage-gtk-$autopackage_version.package" 1355 fi 1356 1357 green; outn "Adding contents of: "; normal; out "$source_dir/autopackage/packages" 1358 cp -Rf "$source_dir/autopackage/packages" "$metadata_dir" 1359 fi 1356 1360 1357 1361 # **********************************************************
