diff --git a/.Conky.tar.pxz b/.Conky.tar.pxz new file mode 100644 index 0000000..191c139 Binary files /dev/null and b/.Conky.tar.pxz differ diff --git a/.config.tar.pxz b/.config.tar.pxz new file mode 100644 index 0000000..434d6e9 Binary files /dev/null and b/.config.tar.pxz differ diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 6fe1bc8..0a3773b 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -734,7 +734,7 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then systemctl enable x11vnc.service # .Conky - tar -vxJf /opt/${repo}/.Conky.tar.xz -C /opt/ + compress restore /opt/${repo}/.Conky.tar.pxz /opt/ chmod 755 -Rv /opt/.Conky/ touch /root/notes.txt @@ -782,7 +782,7 @@ fi rm -Rv /root/.config fi mkdir -p /root/.config - tar -vxJf /opt/${repo}/.config.tar.xz -C /root/.config/ + compress restore /opt/${repo}/.config.tar.pxz /root/.config/ gnomeconfig copyconfig #fi diff --git a/compress.sh b/compress.sh index 151e379..9b03e62 100755 --- a/compress.sh +++ b/compress.sh @@ -21,9 +21,11 @@ if [ "make" == "$1" ]; then rm ${archiv}.tar elif [ "restore" == "$1" ]; then + [[ -z "${3}" ]] && ort="." + pixz -d ${archiv} ${archiv/.pxz*} - tar -xf ${archiv/.pxz*} + tar -xf ${archiv/.pxz*} -C ${ort} # säuberung rm ${archiv/.pxz*} @@ -31,7 +33,7 @@ else echo "tar.pxz compress-script" echo "./compress.sh make/restore archivname input/output" echo "./compress.sh make archivname daten" - echo "./compress.sh restore archivname" + echo "./compress.sh restore archivname ort" echo "or use" echo "tar -Ipixz -cf output.tpxz dir # Make tar use pixz automatically" fi