#!/bin/bash
sourceslist_path=/etc/apt/sources.list
bak_sourceslist_path=/var/lib/check_sourceslist/sources.list
if [ ! -f ${bak_sourceslist_path} ];then
	if [ -f ${sourceslist_path} ];then
		plymouth display-message --text="开始备份sources.list"
		cp -a ${sourceslist_path} ${bak_sourceslist_path}
		plymouth display-message --text="sources.list备份结束"
	else
		plymouth display-message --text="sources.list备份失败"
	fi
fi
