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 {} \; find get -maxdepth 1 -type f -name "*.sh" -exec sh {} \;
cd deb cd deb
# generate the local Packages # generate the local Packages
apt-ftparchive packages . > tempPackages apt-ftparchive packages . > tmpPackages
cd .. cd ..
sed -i "s/\.\//\.\.\//g" deb/tmpPackages sed -i "s/\.\/http/\.\.\/http/g" deb/tmpPackages
# merge the Packages files of third-party repositories # merge the Packages files of third-party repositories
./merge-apt-repo.py --local deb/tmpPackages ./merge-apt-repo.py --local deb/tmpPackages