This commit is contained in:
Your Name 2024-02-17 11:31:14 -07:00
parent c8733e39e7
commit dcc0174130

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}/snapshot-root-${DATE}/" $LOADER_FILE
sed -i "s/${ROOT_NAME}/.snapshots\/snapshot-root-${DATE}/" $LOADER_FILE
}
remove-snapshots() {