This commit is contained in:
Your Name 2024-02-17 11:33:24 -07:00
parent dcc0174130
commit 4f97998047

View File

@ -320,7 +320,7 @@ snapshots() {
TEMPLATE="/efi/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
LOADER_FILE="/efi/loader/entries/snapshot-$MACHINE_ID-$KERNEL_VERSION.conf"
cp -f $TEMPLATE $LOADER_FILE
sed -i "s/${ROOT_NAME}/.snapshots\/snapshot-root-${DATE}/" $LOADER_FILE
sed -i "s/@${ROOT_NAME}/.snapshots\/snapshot-root-${DATE}/" $LOADER_FILE
}
remove-snapshots() {