initial import
This commit is contained in:
20
lxdm-theme-hyperbola/lxdm-theme-hyperbola.install
Normal file
20
lxdm-theme-hyperbola/lxdm-theme-hyperbola.install
Normal file
@@ -0,0 +1,20 @@
|
||||
post_install() {
|
||||
/usr/share/lxdm/themes/Hyperbola/setup.sh
|
||||
lxdmConf="/etc/lxdm/lxdm.conf"
|
||||
if [[ -e "$lxdmConf" ]]; then
|
||||
mv "/etc/lxdm/lxdm.conf" "/etc/lxdm/lxdm.conf.bak"
|
||||
fi
|
||||
cp "/usr/share/lxdm/themes/Hyperbola/lxdm.conf" "/etc/lxdm/"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
echo '>>> !!!ATTENTION!!!'
|
||||
echo '>>> ================================================================================='
|
||||
echo '>>> Please take a look at your local configuration for LXDM:'
|
||||
echo '>>> The original file (/etc/lxdm/lxdm.conf) was saved as a backup!'
|
||||
echo '>>> ================================================================================='
|
||||
}
|
||||
Reference in New Issue
Block a user