Make sure to work with finished db as needed
This commit is contained in:
parent
0060990848
commit
6fbc986e13
@ -49,14 +49,16 @@ run_db_update() {
|
||||
cd packages
|
||||
|
||||
# Remove old db entry
|
||||
rm -f $whatami.db* $whatami.files*
|
||||
rm $whatami.db* $whatami.files*
|
||||
|
||||
# Do the update
|
||||
repo-add $whatami.db.tar.gz ../pool/*${target_arch}*.gz
|
||||
|
||||
rm $whatami.db $whatami.files
|
||||
|
||||
# Rename the finished db ( so it works as needed for me )
|
||||
cp -vrf $whatami.db.tar.gz $whatami.db
|
||||
cp -vrf $whatami.files.tar.gz $whatami.files
|
||||
cp -f $whatami.db.tar.gz $whatami.db
|
||||
cp -f $whatami.files.tar.gz $whatami.files
|
||||
|
||||
cd ..
|
||||
}
|
||||
@ -64,5 +66,5 @@ run_db_update() {
|
||||
restore_the_layout() {
|
||||
mv pool/*.gz packages/
|
||||
|
||||
#rm -r pool
|
||||
rm -r pool
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user