mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make updating calibre on file mirrors robust against history rewriting
This commit is contained in:
parent
415b7f4de5
commit
afc333449e
@ -31,7 +31,7 @@ scp -r ~/work/vim/zsh-syntax-highlighting $server:work/vim
|
|||||||
scp -r ~/work/vim/zsh-history-substring-search $server:work/vim
|
scp -r ~/work/vim/zsh-history-substring-search $server:work/vim
|
||||||
|
|
||||||
cd /usr/local && git clone https://github.com/kovidgoyal/calibre.git
|
cd /usr/local && git clone https://github.com/kovidgoyal/calibre.git
|
||||||
echo '#!/bin/sh\ncd /usr/local/calibre && git pull -q' > /usr/local/bin/update-calibre && chmod +x /usr/local/bin/update-calibre
|
echo '#!/bin/sh\ncd /usr/local/calibre && git fetch -q && git reset --hard -q origin/master' > /usr/local/bin/update-calibre && chmod +x /usr/local/bin/update-calibre
|
||||||
|
|
||||||
Edit /etc/default/rcS and set
|
Edit /etc/default/rcS and set
|
||||||
FSCKFIX=yes
|
FSCKFIX=yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user