fix repo and bin names

This commit is contained in:
Andrey Zimin 2024-02-26 14:14:38 +03:00
parent c1a51d5e9c
commit 6e2cafdd75
5 changed files with 7 additions and 7 deletions

View File

@ -8,8 +8,8 @@ echo -e ""
echo -e "${BOLD}${GREEN}############# обновление пакета #############${RESET_COLOR}"
declare -a OLD_DATABASE=(
"tarch-repo.db"
"tarch-repo.files"
"tarch-bin.db"
"tarch-bin.files"
)
echo -e "${CYAN}\n[*] удаляем старую БД...\n${RESET_COLOR}"
@ -20,14 +20,14 @@ done
sleep 0.5
echo -e "${CYAN}\n[+] обновляем базу pacman ...\n${RESET_COLOR}"
repo-add tarch-repo.db.tar.gz *.pkg.tar.zst
repo-add tarch-bin.db.tar.gz *.pkg.tar.zst
sleep 0.5
# remove syslink to avoid any issues #
echo -e "${CYAN}\n[+] удаляем симлинки и заменяем на файлы ...\n${RESET_COLOR}"
rm tarch-repo.db
rm tarch-repo.files
mv tarch-repo.db.tar.gz tarch-repo.db
mv tarch-repo.files.tar.gz tarch-repo.files
rm tarch-bin.db
rm tarch-bin.files
mv tarch-bin.db.tar.gz tarch-bin.db
mv tarch-bin.files.tar.gz tarch-bin.files
sleep 0.5
echo -e "\n${BOLD}${GREEN}[✔] обновление успешно... "

BIN
x86_64/tarch-bin.db Normal file

Binary file not shown.

BIN
x86_64/tarch-bin.files Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.