X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2dee5f79ddda81bd1892224b786d610eae23d16a..c8d3d3ba2e37ee81a0f7f734cb1c8f9af5b591ba:/scripts/ipkg diff --git a/scripts/ipkg b/scripts/ipkg index 045a3fd2a..da6447c97 100755 --- a/scripts/ipkg +++ b/scripts/ipkg @@ -875,7 +875,7 @@ diff -u $dest/$conffile $IPKG_TMP/$pkg/data/$conffile" rm -rf $IPKG_TMP/$pkg/data rmdir $IPKG_TMP/$pkg rm -f $info_dir/$pkg.list - $pkg_extract_stdout $filename ./data.tar.gz | zcat | tar tf - | sed -e 's/^\.//' > $info_dir/$pkg.list + $pkg_extract_stdout $filename ./data.tar.gz | zcat | tar tf - | sed -e '/\/$/d; s/^\.//' > $info_dir/$pkg.list if [ -x "$info_dir/$pkg.postinst" ]; then $info_dir/$pkg.postinst configure