I would probably wrap up the common parts of the url in a variable for easier maintainability. For example, the following
if test "$CARCH" == i686; then
source=(https://fah-web.stanford.edu/file-releases/beta/release/fahviewer/debian-testing-32bit/v7.3/fahviewer_${pkgver}_i386.deb)
md5sums=('97d6bc7a1a1f350518f4e443370456ed')
else
source=(https://fah-web.stanford.edu/file-releases/beta/release/fahviewer/debian-testing-64bit/v7.3/fahviewer_${pkgver}_amd64.deb)
md5sums=('97d6bc7a1a1f350518f4e443370456ed')
fi
becomes
common_url='https://fah-web.stanford.edu/file-releases/beta/release/fahviewer/debian-testing-32bit/v7.3/fahviewer'
if test "$CARCH" == i686; then
source=(${common_url}_${pkgver}_i386.deb)
md5sums=('97d6bc7a1a1f350518f4e443370456ed')
else
source=(${common_url}_${pkgver}_amd64.deb)
md5sums=('97d6bc7a1a1f350518f4e443370456ed')
fi
I had an issue like this and the problem was that one of my kernel modules was panicking on resume from suspend. The symptom was that the screen was completely black on resume, I couldn't ssh into the machine, and nothing showed up in the logs.
I can't remember which module it was, but I believe it was related to my trackpad. I ultimately blacklisted the module (or maybe it was a package I uninstalled), and that fixed the issue.
I wish I had a more specific answer for you, but hopefully this can prune out fruitless searching.
I would probably wrap up the common parts of the url in a variable for easier maintainability. For example, the following
becomes
This doesn't work by default on all distros anymore, Ubuntu being the first that comes to mind.
What do you mean by partial update?
I had an issue like this and the problem was that one of my kernel modules was panicking on resume from suspend. The symptom was that the screen was completely black on resume, I couldn't ssh into the machine, and nothing showed up in the logs.
I can't remember which module it was, but I believe it was related to my trackpad. I ultimately blacklisted the module (or maybe it was a package I uninstalled), and that fixed the issue.
I wish I had a more specific answer for you, but hopefully this can prune out fruitless searching.
Check out the wiki for a work-around.