pikman-update-manager/data/move_repo.sh
Ward from fusion-voyager-3 1b2ecf10fd fix repos
2024-09-22 21:10:01 +03:00

7 lines
185 B
Bash

#! /bin/bash
if [[ "$1" == "deb822" ]]
then
mv -vf "/tmp/"$2".sources" "/etc/apt/sources.list.d/"$2".sources"
else
mv -vf "/tmp/"$2".list" "/etc/apt/sources.list.d/"$2".list"
fi