pikman-update-manager/data/move_repo.sh

7 lines
185 B
Bash
Raw Normal View History

2024-09-22 20:10:01 +02:00
#! /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