mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
fix: tmpPackages path
This commit is contained in:
parent
3410122f6a
commit
e084230a8b
4
run.sh
4
run.sh
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user