Drop dconf-dump rm output
This commit is contained in:
parent
db391d8b72
commit
d90b7dc63c
|
@ -21,6 +21,7 @@ def get_application_desktop_file_info(application: str, prefix: str) -> str:
|
||||||
existing = icons.get(existing_key)
|
existing = icons.get(existing_key)
|
||||||
if existing is not None:
|
if existing is not None:
|
||||||
return existing
|
return existing
|
||||||
|
# TODO Find actual file - path to it may vary
|
||||||
path = f"{home}/.local/share/applications/jetbrains-{application}.desktop"
|
path = f"{home}/.local/share/applications/jetbrains-{application}.desktop"
|
||||||
with open(path, 'r') as file:
|
with open(path, 'r') as file:
|
||||||
for line in file.readlines():
|
for line in file.readlines():
|
||||||
|
|
|
@ -135,7 +135,7 @@ function getdot {
|
||||||
fi
|
fi
|
||||||
cd "$DOT_DIR" || return 1
|
cd "$DOT_DIR" || return 1
|
||||||
git pull && ./copy.sh
|
git pull && ./copy.sh
|
||||||
rm /tmp/dconf-dump
|
rm /tmp/dconf-dump &> /dev/null
|
||||||
scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
|
scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
|
||||||
dconf-dump > /tmp/current-dconf-dump
|
dconf-dump > /tmp/current-dconf-dump
|
||||||
if ! git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump &> /dev/null; then
|
if ! git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump &> /dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue