fix: tmpPackages path

This commit is contained in:
wcbing 2024-12-02 16:03:37 +08:00
parent 3410122f6a
commit e084230a8b

4
run.sh
View File

@ -6,10 +6,10 @@ $HOME/go/bin/github-downloader -r -o deb
find get -maxdepth 1 -type f -name "*.sh" -exec sh {} \;
cd deb
# generate the local Packages
apt-ftparchive packages . > tempPackages
apt-ftparchive packages . > tmpPackages
cd ..
sed -i "s/\.\//\.\.\//g" deb/tmpPackages
sed -i "s/\.\/http/\.\.\/http/g" deb/tmpPackages
# merge the Packages files of third-party repositories
./merge-apt-repo.py --local deb/tmpPackages