check if flatpak is installed first
This commit is contained in:
parent
ed43962a41
commit
81c60c6008
1 changed files with 4 additions and 3 deletions
7
init.sh
7
init.sh
|
@ -93,15 +93,16 @@ fonts () {
|
||||||
flat_timer () {
|
flat_timer () {
|
||||||
#this copies and activates a systemd service to enable automatic flatpak updates
|
#this copies and activates a systemd service to enable automatic flatpak updates
|
||||||
mkdir -pv $HOME/.config/systemd/user/
|
mkdir -pv $HOME/.config/systemd/user/
|
||||||
ln ./scripts/systemd/ $HOME/.config/systemd/user/
|
ln -s ./scripts/systemd/flatpak* $HOME/.config/systemd/user/
|
||||||
systemctl daemon-reload #not sure if this is necessary or not
|
|
||||||
systemctl --user enable --now flatpak-update.timer
|
systemctl --user enable --now flatpak-update.timer
|
||||||
}
|
}
|
||||||
|
|
||||||
git_user
|
git_user
|
||||||
spacevim
|
spacevim
|
||||||
fonts
|
fonts
|
||||||
flat_timer
|
if command -v flatpak &> /dev/null; then
|
||||||
|
flat_timer
|
||||||
|
fi
|
||||||
|
|
||||||
echo "*******************************"
|
echo "*******************************"
|
||||||
echo "* Restart your terminal *"
|
echo "* Restart your terminal *"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue