pre_upgrade() { echo "Checking 104 firejail profiles for user modification, backing up as needed..." FilesToCheck=( '/etc/firejail/0ad.profile' '/etc/firejail/abrowser.profile' '/etc/firejail/atril.profile' '/etc/firejail/audacious.profile' '/etc/firejail/aweather.profile' '/etc/firejail/bitlbee.profile' '/etc/firejail/brave.profile' '/etc/firejail/cherrytree.profile' '/etc/firejail/chromium-browser.profile' '/etc/firejail/chromium.profile' '/etc/firejail/clementine.profile' '/etc/firejail/cmus.profile' '/etc/firejail/conkeror.profile' '/etc/firejail/corebird.profile' '/etc/firejail/cyberfox.profile' '/etc/firejail/deadbeef.profile' '/etc/firejail/default.profile' '/etc/firejail/deluge.profile' '/etc/firejail/dillo.profile' '/etc/firejail/disable-common.inc' '/etc/firejail/disable-devel.inc' '/etc/firejail/disable-passwdmgr.inc' '/etc/firejail/disable-programs.inc' '/etc/firejail/dnscrypt-proxy.profile' '/etc/firejail/dnsmasq.profile' '/etc/firejail/dropbox.profile' '/etc/firejail/empathy.profile' '/etc/firejail/epiphany.profile' '/etc/firejail/evince.profile' '/etc/firejail/fbreader.profile' '/etc/firejail/filezilla.profile' '/etc/firejail/firefox.profile' '/etc/firejail/firejail.config' '/etc/firejail/flashpeak-slimjet.profile' '/etc/firejail/gnome-mplayer.profile' '/etc/firejail/google-chrome-beta.profile' '/etc/firejail/google-chrome.profile' '/etc/firejail/google-chrome-stable.profile' '/etc/firejail/google-chrome-unstable.profile' '/etc/firejail/google-play-music-desktop-player.profile' '/etc/firejail/gpredict.profile' '/etc/firejail/gwenview.profile' '/etc/firejail/hedgewars.profile' '/etc/firejail/hexchat.profile' '/etc/firejail/icecat.profile' '/etc/firejail/icedove.profile' '/etc/firejail/iceweasel.profile' '/etc/firejail/kmail.profile' '/etc/firejail/konversation.profile' '/etc/firejail/login.users' '/etc/firejail/lxterminal.profile' '/etc/firejail/mathematica.profile' '/etc/firejail/Mathematica.profile' '/etc/firejail/mcabber.profile' '/etc/firejail/midori.profile' '/etc/firejail/mupen64plus.profile' '/etc/firejail/netsurf.profile' '/etc/firejail/nolocal.net' '/etc/firejail/okular.profile' '/etc/firejail/openbox.profile' '/etc/firejail/opera-beta.profile' '/etc/firejail/opera.profile' '/etc/firejail/palemoon.profile' '/etc/firejail/parole.profile' '/etc/firejail/pidgin.profile' '/etc/firejail/polari.profile' '/etc/firejail/psi-plus.profile' '/etc/firejail/qbittorrent.profile' '/etc/firejail/qtox.profile' '/etc/firejail/quassel.profile' '/etc/firejail/quiterss.profile' '/etc/firejail/qutebrowser.profile' '/etc/firejail/rhythmbox.profile' '/etc/firejail/rtorrent.profile' '/etc/firejail/seamonkey-bin.profile' '/etc/firejail/seamonkey.profile' '/etc/firejail/server.profile' '/etc/firejail/skype.profile' '/etc/firejail/snap.profile' '/etc/firejail/spotify.profile' '/etc/firejail/ssh.profile' '/etc/firejail/steam.profile' '/etc/firejail/stellarium.profile' '/etc/firejail/telegram.profile' '/etc/firejail/thunderbird.profile' '/etc/firejail/totem.profile' '/etc/firejail/transmission-gtk.profile' '/etc/firejail/transmission-qt.profile' '/etc/firejail/uget-gtk.profile' '/etc/firejail/unbound.profile' '/etc/firejail/vivaldi-beta.profile' '/etc/firejail/vivaldi.profile' '/etc/firejail/vlc.profile' '/etc/firejail/warzone2100.profile' '/etc/firejail/webserver.net' '/etc/firejail/weechat-curses.profile' '/etc/firejail/weechat.profile' '/etc/firejail/wesnoth.profile' '/etc/firejail/whitelist-common.inc' '/etc/firejail/wine.profile' '/etc/firejail/xchat.profile' '/etc/firejail/xplayer.profile' '/etc/firejail/xreader.profile' '/etc/firejail/xviewer.profile' ) OriginalFileHashes=( '0f9bac8e90419f536efc9f36fb64dccafa0ae47382fccadeb7bc425789a744e04cbdea2347512d4c0affc186668c6ef3996972cc06117e7a1fd533cc59a513b2' 'd85acd176f2207b1cccd7bb919d6fcb444b9c51182c95196b433cfe56392c22d9df204d00aa8f750f7d182ce3419fe960549b1fa59712c838a5bbf724f706f86' 'fd491cac060097d57814c2c3c35c1667006f08c3a4f1361e3facf01aa4815f91d7889863431e4d93f276b351bf8e838e6617f14b882366785c94e71d9f1cf89d' 'ba2ce6547ec5ded82608c56c7e99c3a53ae230476202ef393a55555c3efc4ccdcd2ace368a273ddf98472db8de5624d78e55f0bc71b82668e163f4f827ce1e59' 'e5073525a37fe94695b400212972c4e7eeaf70a01dee1fc3274e707effe413de01e42ccfa4669c941ba6646f53eb722d27316bf2d85bd0cc07b6fe0a61f6edd6' 'f1a39d4a7d5bc39c4fa154ba424287798c8e7ea7e3a9d86f30d6e7e2781f4e89dce0a68c83d270d1db40168ee205d43da08fa68479dd14641087ebc999b9da61' 'b65c4ccbb6456ea54a16850ad7104c7b92c8a72a972b9fa91bcc2dfc9a369f2a8821de91821479b499a5b1e543ec3a20f24bbb8c8b585e247743b10dfb251515' 'a46521b7c316d3e8b94e65e5613c40813aa965d7956a5b25a72c1439049d56bc6d5c36ded946ff4f9ebaa7fd0efb6ad9e9c0661f928c2bdc445b10ef3edcb13a' '2f43037d58bdb86d37382793fbf0a44b40a6e13ddbfacf725c497e9bd35d654279cc38911e008858e76ed5cbb089fc065174b9410103828f6f2d7a4a954f50d4' 'a5ba43f15c411180db162c791c25f2080a235cc6ac1012e71dd298765d21cd2c4b042c70f762a1b22b3abff2b440ece63ba70ea45ac3fdb639ac85cc49778ea5' '331794b32381a43f09133a99491ebd3eb9d8c311612650f94fe4374679e08aa9541d6b33588f119c53314faa46376db1651d43804c0800e0c08f5e34e197c152' 'a83704bf21cfa1b8af666ba5736a922a7c1ac0219f93d6d6b5e63f86c8a4729e9265d07d434fe7721bf72dd26b0e260b9842f6a64406090bdc51d7aa95a29400' '0edffe89dcb40bb7e60fa769d392e78b7fff4157698b3ba864604bfdf50e09874f70265a8e867722ca3632e725fb6095aadce768c6b7ebd7a0ed5b65c843c7f1' '922825f0a4821a71d848358572d49f154b47364a07587e8c0f139d6d6603c6c9d3057829ea4b7a6653d9c0b45a6e4044f695186181b16098f8985afb549b9cc4' '01baff780ffacefc986e80d4baebd7e33d58d3071f9d0f2c5175ec0a205387d391afdf196e572e8a8862b6facae1746326b2de4d61bc8a66d4bc1c86d37eec12' 'aa31fedeaf2d0ed96f6e5cbe73ff4295f2fcc75479e71f2ebfcf40b4a7213a11859991eb421ab33e70e8478553a194cfefb5dab257141b6d65ee0b20f0c0943a' 'b7b0a5ebd1ed4d936988cfc994154804f7a3724574bd53d186a04e22a9aa93c23f5f2b47eb42c4619f39855a41cd7432792568db4740647b0335b383d0d985d0' '83b44bb3fb6e5d500835e9c8225d7a89f356e0f3c15e74f5e29223cf68d5c6f0c893e1f9ff654919f5ee2d438e9772b080b1a23efea83f9ec22a6c860701b051' 'ac4a113bd41d47a7d74ed5bd00d5351130d53ca7024c00ce26b33a740d38f8c909ae26dc0d6d8579ec0b7308f0bae2cc141478bac8354761720f5acdb23a31e7' '117965e10dea4cdfa2faf092f9612a60f664285c86cfdd982f6a73332704ceeabb381b39f2eb67877afa5a06e9e9eaaf02b80c19ab3690116e0cb0ac314ab899' '825d1e866b0fa73f2e5b876fb4aa7217004a862d642e56ddb31bde707e96ef44cfb3e774ab6a502a920c011b036f22d79b630aef7c74e0eb97fafec40827fe98' '2d42b5eca779f8d089500c72b1fed559357962c42d02ded2dfb34e3edbdfac047adaca7f137442eaac188e858635eda36108351a23a509fa471ae9c1cf8f964b' 'f37fc740295c0d8b3fd0142dff052a2a15d8fc7439e04f81cd17ea6fdfca8645d96f134db443684828209211d02a0c6266f8ec736253c3ba611f409a89a30eb0' '5bc59fc87d5508b63b1c41656d52ea88f8e07e448d31c360cd906623aa7c870d7c858920240732eae08ac67300b067131f1c714fb8b21a77f27c0f0cfda255ab' '694c370a26b346686a098ac586f878e2977d4b6844ed7880c92e539dace8985ee2989daac2bbc87426ea7d5487f01ed44e387cbfe9ad1a7c173f164ad9b7e202' 'be1550d06fa94a39ed8d45cb3dfdf1352859b203c97bbca7793bf568d7cf6e28674df5fa7de1163c31f5612166126810d0e80a259d4fa05d3adacc3868b891fe' '19ea15e69575dd15c0e7d27a577289e53ed6d883db49e21497a11de3a3d19e01f2a828ca583e66e6695acd6618670f0cbd9f0213c6e5c8e4cf6a2f4a5c75a7ce' '8fd4b710b1b599abb52e556d46bb140cbcc85350b8b59e5b4dac3708d0ea7c20dc0ca89970d26a0d712f578896ba8cd10069648a5b020d70c74db40b4acd3b2a' '56e2f9f66271a6f28b207b994abc496f3a5a4e253b6ca750a60759a66a97b3b3527e15542172ae83a1d512eab007abda5b8f1c83eb157aef5ac90cc7cad79f28' '7a71491dc3571d6c38b5e8f4ce3fa10d47d7170282a49285f318f2f28a56c40318567150c67d600b1a659564e14d346f8871e033ca4e5732aa4800d1eb897228' '710b5284dd27790a525e840a662d709b75521aa59d9fbb46466c5b3b7c1ec0b5e5a06a3efcfde292c9d197c9bab9f9a12683f778df039622275c88819bdd4b4e' 'bc0aa32b78cd87e2c19ea2a00f0358c5adade118b2c8e2b943f5871df769681c8a9062980e1ecfb9850f1686128a54d4bbbcb83e7e922548e8c7abf39138fe3f' 'bc976597d8de5913f79fa87d11b72660082a8f48d1662db1fc7c67d6daab11cf8c7460604b1ac00b76d4cc501b4c6c8ce147fbe7f906fb34cea845ffc17a701d' '6f4971af3659646e3a10ebb6e5c3be536fdd21855718a32884d252b27ad539691fffe147f14a14541b925393b6140507cfc7e91f78f8611f807b8a8914ad7628' '25fdbcbfb6a6e250dea19653d0f469b5c7300289f682975b63431c1ad4a03a1be8da0ac4ff1b449702121fa217cf72f5b34d811adf8b53cc8c9e753f54ac2f2b' '9bc5557220b4ee3c07bc9d2255b75be67cd21da491a97bcb67800f2f0c03c4c860e0ea8712142e234dd0c578ae905a666f3a5293a22a9c274c96ebe671caa894' '5785872af55a8c4d9109281150237fd4c62f14331a348df377f21b0841de9e647b1e1b140708b0d481f210b7af5f693012e737cfd9238fed82aaf05b9ff4cb6c' '63a7671e7716a757511beece2ac2fca0e91c4cf418e78104ae88d628504725d1b99f577b43a186c884f570aac98d59e8230d59b3c118eecf3335a7e4aa261c11' '22d026ac04179f38d2c52ce9187047f8350ca8ff573c40f51e9dbec1b999aa7d3c28482e6433d8d24a4ade32e9a67c76fda73f5d4449175bb6beee4a137613bb' '343634eee5f3caa85a17c7b6aff4fff385facafebffd43bdee7a85a9eab9d99f152f3ec10d6db3d8854a905214953337abf88353bb3b0dbeace3c07b670bb4d2' 'c4584434110a2eab548c40003268479afff875bb0797d504de4fb8b1efb70f41978d0b712ad28aba4e46220d9bbbafc07d0b0826b4e04753fbdf13c48e93f9e0' 'd765aa8d23b3cd75e3bb1ba00386021eb969b853309a0fd53984e68f5e37f76e08199785797ec75eca290ba561a4fce0d55b6334a188e5c29428ce4ddbd58214' '6b2e2c68df1f988d19b8b45d16c27b4ea94290ae9decda792c89f2a88de4d64a14a283438f8d701d84b831352406eb47e0e458ba49fe0bcddca95b463cc1a0ea' '1514505d08c34f6a2c7ac55ce0d037ccaf745c7963395b3ed47ad1d3b1e97bc5fb6e333f4cd5580e5fc4fdd2e0be7dc40244e0925fa60f9903ea4e6b251996ea' '81db63b03b1f950b1e7810fab38ce4fe5776f11e3036848da6298d9002b5c4683028d4fdd630db118d428fd91e5118872b5b2ccff9c82d02a966765efdb9dc17' '0256d7f44c9fede18fd7e276dffb0d8dcb656b1a4cdceec873878754a6a6c992571fc2fe51fad80493aaf416a4b4068cca573bdc4fb9bf7b5ce0fa2eaaf0f998' '8ded98eec8c11af8defef583227ea833beca534e5f2be48b52ec75152afddf14d78ba47442237e84eda8bb1b8361b1afecd63576f8ef6b18d50fb8c6559e8638' '0f948dae9d8af5e014e17063116cd3e6ad8ead5b2d7292c06f9a3769645e42e297133021eac45d72d00fd47fb7862a826bf1c91daf9fa3277460baa41a0a9895' 'eaa96d4a186b31c3e082d45950dd8b920d423d1a345490f28a80a78ac1d3abd275e23afcd3adcd2ba17cb4e7f6a6536fd1e16c7e07ebb61155f41a1085eadc15' '8fe509b4a199dca776cd3cae3efde78d67f4a00ef31877aee76cf165010aa18ff57cf1e6c470713bf4c695ce92a5ecf8c63ab0774f0ce09fbb59af00fb195d04' '63f9b10c32e7abc44c583b9e5f5619aef3e96b45bfa27497f7b100b861357ea939e6b9429e40321eff654b03b36016190830e83621a10bb0a99ee284fa8d5a61' '6269057d43630fdba735c0085e16834f0e3ca49c64df720f3500bfe9c407ab9fc933dca904aacee1a5afbdc3f71d1f8b81cfba62914b37dda45089965e0329a0' '0603f8db3166c2889791927fec0cd7e2d39812eb72b720b419ada4efe449c0152d946d0eab326cd54e1f1f16c6f6f8a92fc3cd7ae243c48d643bdb039af1a7f0' '9aaf9dd4ca70773518f52f51b10b74c04ec4a45da8bc77dfa670c9c3760951ef95621fd0f2f9650572208edbdbcfc8f00af826f094959f3e1783c7a7c2f840fc' '1c8bb262f919b19791502757a9353d3dac69afd45bfd03d66bbc46c9d52bf01450af498a9eea9ebede4686c8210b1ed0367fe9f733982d3eafc45a148a1a3e45' 'da5be2dbd56c13db000dc6cbaff5b14e5aeb62623cea6e870c2f44e932a4e9cb1b48e6fc4547e1f3c6cfd4da9487e134656b8674934eaea0ef8196654690f65c' '3029a0d97ec6dddd660dd96b06102a01ea175aa09724df70af28231f42889a0a2f3fb773483c2e1d91c03fbf8e5af3519e6c6c56cc67a65a6c11fe2c5171a426' '0674dd401dbb0c205c94ad45ec1e92408122a6ee736e1b02fc19c75c1e30e4b278cbbbc9fef9a0b41de7d068e7eaedca231880315b85d11e9d36345d61b75d68' '84477436edcca133866623bdabc8c60b23eb6434a0d17e7c2fef732d76925e9156599765363296bc8b3cdeded8fc6344e5a0ba1d310bb477f868838f9c86d0c4' '0376a8245bd4c19cdf1581d08fad9fdf63d6ed8b5d86069ac7ed89534d31a817d3ed3e03747cba5d63f4172d492274cc09c3b767e768d41f218f22a4333e68fb' 'ea7418858eaa03a63ac1ac2df3e773c8660208e274b30eface25c94a58bbdfaead04a6accd0405be795ba9b6553b9d2f8920202f9d1ed5c7ee54f9ee2647dfed' '0f3fdc1d6bb13a1fe707105956dbc6a6d1092b8ff8a40c3e53d3dfc1c4249484cc07344a5e14e3dad5728bb18bd35cb59a1845118c83ed5c91bf24a592c4dd1a' '156ec8cc1d67682820322c9fd192e8c1c83be7189a997226c59914e5a92fc57acb228cc53529c8fd64306e1026c4db2c44032340f895aa7a7d81e967246dce9c' 'ea6b86d70ddb9acb9751b07e57b807e4fdc92ae2fb6ef8a024a4d74273c486988d6cae0e0fe58d10ca268e30e945c46ed44cf10782d5f82ddedde344b24079c4' 'c7bf137adbb1a892c2fef2340673796a89299a7f658750fdd68cfe5510af100a87c9baad2eb162178fd2a936d8e671d4dd1652803319fa21146c0d29618d6dff' '075fa96147e7300210ba8c76faf3e918a4141e4fe5ad788fdd9fa3ac11463cf883688dcce344fd47f3ffd249eaa338d0ddf01b72f87bfe85d3e7cd0c27674f20' 'bad8334bc38a97f796544ec6bfbd8a23a5b28474d73317a2d630ae6b734d2bdac29a45d02b63acf0821c978dc6cc495348c54f476f74b456ee24711f3f9c52b3' '004793e0cb59b72c0c7f52363d1711e4005fa86b32e64c371733817aa1d3e5680d1c586bab913f4455c0e7f2531457760c5f34b8b6ba494e3b29ae4a9833da09' 'eaaad0ecdff2b48d9e1b9a1c2331e92402f8084fd16c4d5830a3bd49258ee2eec67ac15e7db9684ae8fc9cae8f885c1098012a2c7c8624b729d23f59bb4d380e' 'f41371bbb77fd82a8e9958226a6131c52a9f7dd71d91974126eaa0eef0ac9abeb8ba788d11203446a6ffead709091f1a6bc48ba10eae0b3a7239d19f613e7aff' 'f4bb829e9c4e8dd8c476e02c68cfb3954719202f0f721e3f980a535f39c192414048f533aef060dbd3c35ea22d053b4c1bfc99f2577d46ab7bd5460aea51c509' 'f53cc04645cd0d4444a89f7fa930c2bd23265a4036270ecaac332eab4626e5673c03e6c6f63c09fb8d1e6f61270a0341eabbc52ef2dfedc8089051e0e68dcead' 'f9b85de9a19effdc05122e24cdd10cd67a62e9df3e4c5e1449893567fee37c70301d7f933f71d470eaacddf8b7d0d15a1620cbc939d8828380adce9aca10c1d2' '7cf91ea1dd3b1a836de6ab9ba8e96732b54ba9ead7699204f920e4ef2f67b6a485cff2105a59f673fec90e22c6880d6003aed1aecf719fe1ae6337c09f0d58cd' '3e5c9101c669a1ec39366a741e2b2a22d70e4c17749b4eb01d8f33cc82fbc1e073a3a86b1959c26a9367a1b16641b187b9a0a952cf0ae6c17f4f3720bd6999e1' 'ab141237f62d9b85680d3bca3c26bc9f6299aa06e9e10b5a83deb9c18facc921494e776192d92da1ae95dd993c4042f4055213973ef2894f51dc99aac1820f9c' '5056b3e4d1e2bcde05fa9ad1a184d945ac2570339e0020dc6256073259a2b19ea6acb6899460c250b43735c05196025c347fcdd4825163a19dc570f2f86a67f3' '996f99a0d7569f99587b0484c336c932b90cea2aa3e88d27da3118b01d6113a931c85057fd4bd78a23d97b7cc7808e7c39b02d0b4b41239e34ddfdaf620db8c1' '17da71e0a20f330bf323c144f13435eda71729971c95900f8cba96913b7c9ee66ed6c2e5d7e411a5dd4dbad140038be22662b3c82914b60960b3bf262ac4c2ff' '27fe24415ac2f82b4ab141cc958f30ae889d1b8085546957e3b18afe6e3bc5e410822248ac1c63ecf6e315c867f1edec927b2cb95a810b777e0e85ffe2880602' '8b950272275099b194034b923e910290ec4127d7a7f670898cd1961d546f0203a5c488c5c68b00b23e81eda1d39c1610018e9a77441c7b5bc53158d4a0739818' '154880b95afdbb865e05d4646d5c34d60d38ce3c46eeccb0776651d8a8cd8bacb0d3589bca79bbb0eb016b6bf0aa8f5461e75ada9922a23dc07b7034ba4a192d' '7fd6ef4d092db84fe8d5266b4ceeed396094c63373cf49b9d696df89ce51c70b0b24fcdeef53101749a4c70f3c3c9dca8c89e407ee9c3e78579f7f9cbe80f504' '0d084f0387f838f35a1d71d812770aa794bc56384299b1d79fe6e80d64c19232f6d52f173c0459b1a5a3046bb98453c39aaca2b87b92a40737fb4d702eafe8d7' '36016e499156af83687c9a24f12bb3b65033e42d42498efddfc20a6bcfe75923af67fd24f7de952ac86c29171a4197be19bbabf1bafba306fdd92d429e492d2a' '7445a602d757c33474a581591620cd8c47938f1c530377aa68eee82fabdbeaeea8ea9c601931dec4325ec29327f4e9d8460356d108e6226ac4048551a875253a' '6e283c4b1b9b7a8f31dc0186cd1e199be2b2254b038ed414d32ce5d8cf1a831403d23ee6ed4f78b36c8fdfaa840cac334e3e10ee0e49dece5606da1ac0e4fbaf' '660f3db9efb48b1fd625bef66c8abc9c1f6bb9acdf8eb856c754d7a842f386424d3ab2a77541412f209e0264efa4d1df04c3cfe1180f7d5495ee70a358224a79' '18f050f186d20a667f3b30fa01f6c87c4059d2e766e4fde94b2f4b668037335a0cf58c04d5f0483d0e09594d6522419c38efa3ad49f05dfaa1df407d72254949' '15320fb69b4103ac8e63a1a60398eaef08d1f9479bdf990d41fce3aa9d6624458dfa805a208ccbdfc21881eb43b362be2c158ec0e891c28658d1e3a446413589' '5e6f8bf4685ef2ae14509728d3f31f3154efda613c9ec4b8f1d888ca4a990cc5b3259cf4f820128859405b504f5e36e5a0f594c620c3cfad96d1153478fd6e3b' '44b51514bcf1ce3389e6f29f6946c3a6df79bf5ed4b0cc34ff4072c9880dac0ff937f66c757554d046fe732a0fb5d659271a7366db8977d65a4f05eefa3eab74' 'ddd1612a2426fd7fcffc07b0416c56189b312a3ad9c1b4afff98a4e701a33e09f27da9a99e8aaaf7de50990d4c71122da3be05abe3767ccfce3d69a78ac18a90' '19c38907c4e0e1dc237ee8b29d87edc7c8096c738be200e3c80bab0b39c8c2e4eebc0824cfa56913a9594cfa254661aa4dfaa0fef0a5dafcd889b4c4ac303622' 'a889749dce2d9a7f624327780696a8444112b55c22d5a2506aaa5ee52f64bd028f6cbb7f6c9b39123565e7257935acaebf8a9d98460b1d25320cfd729c493450' '90bc676d8c4d5e939b2c785bc290a5dff189855808475d64133f223415cef61bb8a5f2ce4c3d9ba7a8a28b65b2903d31673b26a1a1c100d13e141b41cb605480' 'f6c08d1a56f75949594b3e99669e3c6af1a2f17d05607ec27e080fcb6f922e60b2bf6edd7a594eb4b3d0b2b175856df44bdf85f220241f59aa6112595f9a0349' '3a709beb5ad7499eb42abbe6d402a013ca06626ef5465fa9b853ba0f561c045025bc74d138d5704d96e2e421fb5afd310919d6a68ba203c585b5998f823addfb' 'd3f1fd863d6c68b8eb8e01f68f673ff1bdcae3d5c73fe14e98ca9fb02b3e4dc8079696420676758d001621e59959cc5c90b87e0a89d6325db52207b6df9e2392' 'a283d47250d7fe664b44e490f95880340a78b4738fe4bc28a6ad4f919d72ef86284358d21e1f4e11daa793128c56a8ea7c114da532fc409fc6a96c755514b7f3' '4cdb1a0dfd904244de699c440d5209a68611291d7183c9a3e9ef9453f2ab41e0372f6d8988f90ba668e416d5940b02d3fd2580b926a902763c763721f9d7967d' '205739b2a4f9646482ef7abf32e89df2e39f2afc912a1efecf9ebfc50588c37264effca0612997a397a7bee8ad5b13ccce7aace7d32eac09407f3e6f0c41676e' '421d07ff0cf6317b8dadb998c199c9a716081cfbbe8a04633dce4955f654054bfde2512f8b0999215e8dc1e65bf10c2bbd48586cf150291a688da202475c3e09' '158507fe3ca620412a9829a2eca7ee5a1e470494bf4349621571979f966c97132217a57da21823e15c607db58b600cc5b993a74f8aca57c84ee5b8d9f3b0df87' ) ## Uses above arrays to check if file's original hash matches, if not the file was edited, so we save a backup and notify the user. [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[0]} | awk '{print $1}')" = ${OriginalFileHashes[0]} ]] || { cat "${FilesToCheck[0]}" > "${FilesToCheck[0]}.pacsave" ; echo "Backup saved: ${FilesToCheck[0]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[1]} | awk '{print $1}')" = ${OriginalFileHashes[1]} ]] || { cat "${FilesToCheck[1]}" > "${FilesToCheck[1]}.pacsave" ; echo "Backup saved: ${FilesToCheck[1]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[2]} | awk '{print $1}')" = ${OriginalFileHashes[2]} ]] || { cat "${FilesToCheck[2]}" > "${FilesToCheck[2]}.pacsave" ; echo "Backup saved: ${FilesToCheck[2]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[3]} | awk '{print $1}')" = ${OriginalFileHashes[3]} ]] || { cat "${FilesToCheck[3]}" > "${FilesToCheck[3]}.pacsave" ; echo "Backup saved: ${FilesToCheck[3]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[4]} | awk '{print $1}')" = ${OriginalFileHashes[4]} ]] || { cat "${FilesToCheck[4]}" > "${FilesToCheck[4]}.pacsave" ; echo "Backup saved: ${FilesToCheck[4]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[5]} | awk '{print $1}')" = ${OriginalFileHashes[5]} ]] || { cat "${FilesToCheck[5]}" > "${FilesToCheck[5]}.pacsave" ; echo "Backup saved: ${FilesToCheck[5]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[6]} | awk '{print $1}')" = ${OriginalFileHashes[6]} ]] || { cat "${FilesToCheck[6]}" > "${FilesToCheck[6]}.pacsave" ; echo "Backup saved: ${FilesToCheck[6]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[7]} | awk '{print $1}')" = ${OriginalFileHashes[7]} ]] || { cat "${FilesToCheck[7]}" > "${FilesToCheck[7]}.pacsave" ; echo "Backup saved: ${FilesToCheck[7]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[8]} | awk '{print $1}')" = ${OriginalFileHashes[8]} ]] || { cat "${FilesToCheck[8]}" > "${FilesToCheck[8]}.pacsave" ; echo "Backup saved: ${FilesToCheck[8]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[9]} | awk '{print $1}')" = ${OriginalFileHashes[9]} ]] || { cat "${FilesToCheck[9]}" > "${FilesToCheck[9]}.pacsave" ; echo "Backup saved: ${FilesToCheck[9]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[10]} | awk '{print $1}')" = ${OriginalFileHashes[10]} ]] || { cat "${FilesToCheck[10]}" > "${FilesToCheck[10]}.pacsave" ; echo "Backup saved: ${FilesToCheck[10]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[11]} | awk '{print $1}')" = ${OriginalFileHashes[11]} ]] || { cat "${FilesToCheck[11]}" > "${FilesToCheck[11]}.pacsave" ; echo "Backup saved: ${FilesToCheck[11]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[12]} | awk '{print $1}')" = ${OriginalFileHashes[12]} ]] || { cat "${FilesToCheck[12]}" > "${FilesToCheck[12]}.pacsave" ; echo "Backup saved: ${FilesToCheck[12]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[13]} | awk '{print $1}')" = ${OriginalFileHashes[13]} ]] || { cat "${FilesToCheck[13]}" > "${FilesToCheck[13]}.pacsave" ; echo "Backup saved: ${FilesToCheck[13]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[14]} | awk '{print $1}')" = ${OriginalFileHashes[14]} ]] || { cat "${FilesToCheck[14]}" > "${FilesToCheck[14]}.pacsave" ; echo "Backup saved: ${FilesToCheck[14]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[15]} | awk '{print $1}')" = ${OriginalFileHashes[15]} ]] || { cat "${FilesToCheck[15]}" > "${FilesToCheck[15]}.pacsave" ; echo "Backup saved: ${FilesToCheck[15]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[16]} | awk '{print $1}')" = ${OriginalFileHashes[16]} ]] || { cat "${FilesToCheck[16]}" > "${FilesToCheck[16]}.pacsave" ; echo "Backup saved: ${FilesToCheck[16]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[17]} | awk '{print $1}')" = ${OriginalFileHashes[17]} ]] || { cat "${FilesToCheck[17]}" > "${FilesToCheck[17]}.pacsave" ; echo "Backup saved: ${FilesToCheck[17]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[18]} | awk '{print $1}')" = ${OriginalFileHashes[18]} ]] || { cat "${FilesToCheck[18]}" > "${FilesToCheck[18]}.pacsave" ; echo "Backup saved: ${FilesToCheck[18]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[19]} | awk '{print $1}')" = ${OriginalFileHashes[19]} ]] || { cat "${FilesToCheck[19]}" > "${FilesToCheck[19]}.pacsave" ; echo "Backup saved: ${FilesToCheck[19]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[20]} | awk '{print $1}')" = ${OriginalFileHashes[20]} ]] || { cat "${FilesToCheck[20]}" > "${FilesToCheck[20]}.pacsave" ; echo "Backup saved: ${FilesToCheck[20]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[21]} | awk '{print $1}')" = ${OriginalFileHashes[21]} ]] || { cat "${FilesToCheck[21]}" > "${FilesToCheck[21]}.pacsave" ; echo "Backup saved: ${FilesToCheck[21]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[22]} | awk '{print $1}')" = ${OriginalFileHashes[22]} ]] || { cat "${FilesToCheck[22]}" > "${FilesToCheck[22]}.pacsave" ; echo "Backup saved: ${FilesToCheck[22]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[23]} | awk '{print $1}')" = ${OriginalFileHashes[23]} ]] || { cat "${FilesToCheck[23]}" > "${FilesToCheck[23]}.pacsave" ; echo "Backup saved: ${FilesToCheck[23]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[24]} | awk '{print $1}')" = ${OriginalFileHashes[24]} ]] || { cat "${FilesToCheck[24]}" > "${FilesToCheck[24]}.pacsave" ; echo "Backup saved: ${FilesToCheck[24]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[25]} | awk '{print $1}')" = ${OriginalFileHashes[25]} ]] || { cat "${FilesToCheck[25]}" > "${FilesToCheck[25]}.pacsave" ; echo "Backup saved: ${FilesToCheck[25]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[26]} | awk '{print $1}')" = ${OriginalFileHashes[26]} ]] || { cat "${FilesToCheck[26]}" > "${FilesToCheck[26]}.pacsave" ; echo "Backup saved: ${FilesToCheck[26]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[27]} | awk '{print $1}')" = ${OriginalFileHashes[27]} ]] || { cat "${FilesToCheck[27]}" > "${FilesToCheck[27]}.pacsave" ; echo "Backup saved: ${FilesToCheck[27]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[28]} | awk '{print $1}')" = ${OriginalFileHashes[28]} ]] || { cat "${FilesToCheck[28]}" > "${FilesToCheck[28]}.pacsave" ; echo "Backup saved: ${FilesToCheck[28]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[29]} | awk '{print $1}')" = ${OriginalFileHashes[29]} ]] || { cat "${FilesToCheck[29]}" > "${FilesToCheck[29]}.pacsave" ; echo "Backup saved: ${FilesToCheck[29]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[30]} | awk '{print $1}')" = ${OriginalFileHashes[30]} ]] || { cat "${FilesToCheck[30]}" > "${FilesToCheck[30]}.pacsave" ; echo "Backup saved: ${FilesToCheck[30]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[31]} | awk '{print $1}')" = ${OriginalFileHashes[31]} ]] || { cat "${FilesToCheck[31]}" > "${FilesToCheck[31]}.pacsave" ; echo "Backup saved: ${FilesToCheck[31]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[32]} | awk '{print $1}')" = ${OriginalFileHashes[32]} ]] || { cat "${FilesToCheck[32]}" > "${FilesToCheck[32]}.pacsave" ; echo "Backup saved: ${FilesToCheck[32]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[33]} | awk '{print $1}')" = ${OriginalFileHashes[33]} ]] || { cat "${FilesToCheck[33]}" > "${FilesToCheck[33]}.pacsave" ; echo "Backup saved: ${FilesToCheck[33]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[34]} | awk '{print $1}')" = ${OriginalFileHashes[34]} ]] || { cat "${FilesToCheck[34]}" > "${FilesToCheck[34]}.pacsave" ; echo "Backup saved: ${FilesToCheck[34]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[35]} | awk '{print $1}')" = ${OriginalFileHashes[35]} ]] || { cat "${FilesToCheck[35]}" > "${FilesToCheck[35]}.pacsave" ; echo "Backup saved: ${FilesToCheck[35]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[36]} | awk '{print $1}')" = ${OriginalFileHashes[36]} ]] || { cat "${FilesToCheck[36]}" > "${FilesToCheck[36]}.pacsave" ; echo "Backup saved: ${FilesToCheck[36]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[37]} | awk '{print $1}')" = ${OriginalFileHashes[37]} ]] || { cat "${FilesToCheck[37]}" > "${FilesToCheck[37]}.pacsave" ; echo "Backup saved: ${FilesToCheck[37]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[38]} | awk '{print $1}')" = ${OriginalFileHashes[38]} ]] || { cat "${FilesToCheck[38]}" > "${FilesToCheck[38]}.pacsave" ; echo "Backup saved: ${FilesToCheck[38]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[39]} | awk '{print $1}')" = ${OriginalFileHashes[39]} ]] || { cat "${FilesToCheck[39]}" > "${FilesToCheck[39]}.pacsave" ; echo "Backup saved: ${FilesToCheck[39]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[40]} | awk '{print $1}')" = ${OriginalFileHashes[40]} ]] || { cat "${FilesToCheck[40]}" > "${FilesToCheck[40]}.pacsave" ; echo "Backup saved: ${FilesToCheck[40]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[41]} | awk '{print $1}')" = ${OriginalFileHashes[41]} ]] || { cat "${FilesToCheck[41]}" > "${FilesToCheck[41]}.pacsave" ; echo "Backup saved: ${FilesToCheck[41]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[42]} | awk '{print $1}')" = ${OriginalFileHashes[42]} ]] || { cat "${FilesToCheck[42]}" > "${FilesToCheck[42]}.pacsave" ; echo "Backup saved: ${FilesToCheck[42]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[43]} | awk '{print $1}')" = ${OriginalFileHashes[43]} ]] || { cat "${FilesToCheck[43]}" > "${FilesToCheck[43]}.pacsave" ; echo "Backup saved: ${FilesToCheck[43]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[44]} | awk '{print $1}')" = ${OriginalFileHashes[44]} ]] || { cat "${FilesToCheck[44]}" > "${FilesToCheck[44]}.pacsave" ; echo "Backup saved: ${FilesToCheck[44]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[45]} | awk '{print $1}')" = ${OriginalFileHashes[45]} ]] || { cat "${FilesToCheck[45]}" > "${FilesToCheck[45]}.pacsave" ; echo "Backup saved: ${FilesToCheck[45]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[46]} | awk '{print $1}')" = ${OriginalFileHashes[46]} ]] || { cat "${FilesToCheck[46]}" > "${FilesToCheck[46]}.pacsave" ; echo "Backup saved: ${FilesToCheck[46]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[47]} | awk '{print $1}')" = ${OriginalFileHashes[47]} ]] || { cat "${FilesToCheck[47]}" > "${FilesToCheck[47]}.pacsave" ; echo "Backup saved: ${FilesToCheck[47]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[48]} | awk '{print $1}')" = ${OriginalFileHashes[48]} ]] || { cat "${FilesToCheck[48]}" > "${FilesToCheck[48]}.pacsave" ; echo "Backup saved: ${FilesToCheck[48]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[49]} | awk '{print $1}')" = ${OriginalFileHashes[49]} ]] || { cat "${FilesToCheck[49]}" > "${FilesToCheck[49]}.pacsave" ; echo "Backup saved: ${FilesToCheck[49]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[50]} | awk '{print $1}')" = ${OriginalFileHashes[50]} ]] || { cat "${FilesToCheck[50]}" > "${FilesToCheck[50]}.pacsave" ; echo "Backup saved: ${FilesToCheck[50]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[51]} | awk '{print $1}')" = ${OriginalFileHashes[51]} ]] || { cat "${FilesToCheck[51]}" > "${FilesToCheck[51]}.pacsave" ; echo "Backup saved: ${FilesToCheck[51]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[52]} | awk '{print $1}')" = ${OriginalFileHashes[52]} ]] || { cat "${FilesToCheck[52]}" > "${FilesToCheck[52]}.pacsave" ; echo "Backup saved: ${FilesToCheck[52]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[53]} | awk '{print $1}')" = ${OriginalFileHashes[53]} ]] || { cat "${FilesToCheck[53]}" > "${FilesToCheck[53]}.pacsave" ; echo "Backup saved: ${FilesToCheck[53]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[54]} | awk '{print $1}')" = ${OriginalFileHashes[54]} ]] || { cat "${FilesToCheck[54]}" > "${FilesToCheck[54]}.pacsave" ; echo "Backup saved: ${FilesToCheck[54]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[55]} | awk '{print $1}')" = ${OriginalFileHashes[55]} ]] || { cat "${FilesToCheck[55]}" > "${FilesToCheck[55]}.pacsave" ; echo "Backup saved: ${FilesToCheck[55]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[56]} | awk '{print $1}')" = ${OriginalFileHashes[56]} ]] || { cat "${FilesToCheck[56]}" > "${FilesToCheck[56]}.pacsave" ; echo "Backup saved: ${FilesToCheck[56]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[57]} | awk '{print $1}')" = ${OriginalFileHashes[57]} ]] || { cat "${FilesToCheck[57]}" > "${FilesToCheck[57]}.pacsave" ; echo "Backup saved: ${FilesToCheck[57]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[58]} | awk '{print $1}')" = ${OriginalFileHashes[58]} ]] || { cat "${FilesToCheck[58]}" > "${FilesToCheck[58]}.pacsave" ; echo "Backup saved: ${FilesToCheck[58]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[59]} | awk '{print $1}')" = ${OriginalFileHashes[59]} ]] || { cat "${FilesToCheck[59]}" > "${FilesToCheck[59]}.pacsave" ; echo "Backup saved: ${FilesToCheck[59]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[60]} | awk '{print $1}')" = ${OriginalFileHashes[60]} ]] || { cat "${FilesToCheck[60]}" > "${FilesToCheck[60]}.pacsave" ; echo "Backup saved: ${FilesToCheck[60]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[61]} | awk '{print $1}')" = ${OriginalFileHashes[61]} ]] || { cat "${FilesToCheck[61]}" > "${FilesToCheck[61]}.pacsave" ; echo "Backup saved: ${FilesToCheck[61]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[62]} | awk '{print $1}')" = ${OriginalFileHashes[62]} ]] || { cat "${FilesToCheck[62]}" > "${FilesToCheck[62]}.pacsave" ; echo "Backup saved: ${FilesToCheck[62]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[63]} | awk '{print $1}')" = ${OriginalFileHashes[63]} ]] || { cat "${FilesToCheck[63]}" > "${FilesToCheck[63]}.pacsave" ; echo "Backup saved: ${FilesToCheck[63]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[64]} | awk '{print $1}')" = ${OriginalFileHashes[64]} ]] || { cat "${FilesToCheck[64]}" > "${FilesToCheck[64]}.pacsave" ; echo "Backup saved: ${FilesToCheck[64]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[65]} | awk '{print $1}')" = ${OriginalFileHashes[65]} ]] || { cat "${FilesToCheck[65]}" > "${FilesToCheck[65]}.pacsave" ; echo "Backup saved: ${FilesToCheck[65]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[66]} | awk '{print $1}')" = ${OriginalFileHashes[66]} ]] || { cat "${FilesToCheck[66]}" > "${FilesToCheck[66]}.pacsave" ; echo "Backup saved: ${FilesToCheck[66]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[67]} | awk '{print $1}')" = ${OriginalFileHashes[67]} ]] || { cat "${FilesToCheck[67]}" > "${FilesToCheck[67]}.pacsave" ; echo "Backup saved: ${FilesToCheck[67]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[68]} | awk '{print $1}')" = ${OriginalFileHashes[68]} ]] || { cat "${FilesToCheck[68]}" > "${FilesToCheck[68]}.pacsave" ; echo "Backup saved: ${FilesToCheck[68]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[69]} | awk '{print $1}')" = ${OriginalFileHashes[69]} ]] || { cat "${FilesToCheck[69]}" > "${FilesToCheck[69]}.pacsave" ; echo "Backup saved: ${FilesToCheck[69]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[70]} | awk '{print $1}')" = ${OriginalFileHashes[70]} ]] || { cat "${FilesToCheck[70]}" > "${FilesToCheck[70]}.pacsave" ; echo "Backup saved: ${FilesToCheck[70]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[71]} | awk '{print $1}')" = ${OriginalFileHashes[71]} ]] || { cat "${FilesToCheck[71]}" > "${FilesToCheck[71]}.pacsave" ; echo "Backup saved: ${FilesToCheck[71]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[72]} | awk '{print $1}')" = ${OriginalFileHashes[72]} ]] || { cat "${FilesToCheck[72]}" > "${FilesToCheck[72]}.pacsave" ; echo "Backup saved: ${FilesToCheck[72]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[73]} | awk '{print $1}')" = ${OriginalFileHashes[73]} ]] || { cat "${FilesToCheck[73]}" > "${FilesToCheck[73]}.pacsave" ; echo "Backup saved: ${FilesToCheck[73]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[74]} | awk '{print $1}')" = ${OriginalFileHashes[74]} ]] || { cat "${FilesToCheck[74]}" > "${FilesToCheck[74]}.pacsave" ; echo "Backup saved: ${FilesToCheck[74]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[75]} | awk '{print $1}')" = ${OriginalFileHashes[75]} ]] || { cat "${FilesToCheck[75]}" > "${FilesToCheck[75]}.pacsave" ; echo "Backup saved: ${FilesToCheck[75]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[76]} | awk '{print $1}')" = ${OriginalFileHashes[76]} ]] || { cat "${FilesToCheck[76]}" > "${FilesToCheck[76]}.pacsave" ; echo "Backup saved: ${FilesToCheck[76]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[77]} | awk '{print $1}')" = ${OriginalFileHashes[77]} ]] || { cat "${FilesToCheck[77]}" > "${FilesToCheck[77]}.pacsave" ; echo "Backup saved: ${FilesToCheck[77]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[78]} | awk '{print $1}')" = ${OriginalFileHashes[78]} ]] || { cat "${FilesToCheck[78]}" > "${FilesToCheck[78]}.pacsave" ; echo "Backup saved: ${FilesToCheck[78]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[79]} | awk '{print $1}')" = ${OriginalFileHashes[79]} ]] || { cat "${FilesToCheck[79]}" > "${FilesToCheck[79]}.pacsave" ; echo "Backup saved: ${FilesToCheck[79]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[80]} | awk '{print $1}')" = ${OriginalFileHashes[80]} ]] || { cat "${FilesToCheck[80]}" > "${FilesToCheck[80]}.pacsave" ; echo "Backup saved: ${FilesToCheck[80]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[81]} | awk '{print $1}')" = ${OriginalFileHashes[81]} ]] || { cat "${FilesToCheck[81]}" > "${FilesToCheck[81]}.pacsave" ; echo "Backup saved: ${FilesToCheck[81]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[82]} | awk '{print $1}')" = ${OriginalFileHashes[82]} ]] || { cat "${FilesToCheck[82]}" > "${FilesToCheck[82]}.pacsave" ; echo "Backup saved: ${FilesToCheck[82]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[83]} | awk '{print $1}')" = ${OriginalFileHashes[83]} ]] || { cat "${FilesToCheck[83]}" > "${FilesToCheck[83]}.pacsave" ; echo "Backup saved: ${FilesToCheck[83]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[84]} | awk '{print $1}')" = ${OriginalFileHashes[84]} ]] || { cat "${FilesToCheck[84]}" > "${FilesToCheck[84]}.pacsave" ; echo "Backup saved: ${FilesToCheck[84]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[85]} | awk '{print $1}')" = ${OriginalFileHashes[85]} ]] || { cat "${FilesToCheck[85]}" > "${FilesToCheck[85]}.pacsave" ; echo "Backup saved: ${FilesToCheck[85]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[86]} | awk '{print $1}')" = ${OriginalFileHashes[86]} ]] || { cat "${FilesToCheck[86]}" > "${FilesToCheck[86]}.pacsave" ; echo "Backup saved: ${FilesToCheck[86]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[87]} | awk '{print $1}')" = ${OriginalFileHashes[87]} ]] || { cat "${FilesToCheck[87]}" > "${FilesToCheck[87]}.pacsave" ; echo "Backup saved: ${FilesToCheck[87]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[88]} | awk '{print $1}')" = ${OriginalFileHashes[88]} ]] || { cat "${FilesToCheck[88]}" > "${FilesToCheck[88]}.pacsave" ; echo "Backup saved: ${FilesToCheck[88]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[89]} | awk '{print $1}')" = ${OriginalFileHashes[89]} ]] || { cat "${FilesToCheck[89]}" > "${FilesToCheck[89]}.pacsave" ; echo "Backup saved: ${FilesToCheck[89]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[90]} | awk '{print $1}')" = ${OriginalFileHashes[90]} ]] || { cat "${FilesToCheck[90]}" > "${FilesToCheck[90]}.pacsave" ; echo "Backup saved: ${FilesToCheck[90]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[91]} | awk '{print $1}')" = ${OriginalFileHashes[91]} ]] || { cat "${FilesToCheck[91]}" > "${FilesToCheck[91]}.pacsave" ; echo "Backup saved: ${FilesToCheck[91]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[92]} | awk '{print $1}')" = ${OriginalFileHashes[92]} ]] || { cat "${FilesToCheck[92]}" > "${FilesToCheck[92]}.pacsave" ; echo "Backup saved: ${FilesToCheck[92]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[93]} | awk '{print $1}')" = ${OriginalFileHashes[93]} ]] || { cat "${FilesToCheck[93]}" > "${FilesToCheck[93]}.pacsave" ; echo "Backup saved: ${FilesToCheck[93]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[94]} | awk '{print $1}')" = ${OriginalFileHashes[94]} ]] || { cat "${FilesToCheck[94]}" > "${FilesToCheck[94]}.pacsave" ; echo "Backup saved: ${FilesToCheck[94]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[95]} | awk '{print $1}')" = ${OriginalFileHashes[95]} ]] || { cat "${FilesToCheck[95]}" > "${FilesToCheck[95]}.pacsave" ; echo "Backup saved: ${FilesToCheck[95]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[96]} | awk '{print $1}')" = ${OriginalFileHashes[96]} ]] || { cat "${FilesToCheck[96]}" > "${FilesToCheck[96]}.pacsave" ; echo "Backup saved: ${FilesToCheck[96]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[97]} | awk '{print $1}')" = ${OriginalFileHashes[97]} ]] || { cat "${FilesToCheck[97]}" > "${FilesToCheck[97]}.pacsave" ; echo "Backup saved: ${FilesToCheck[97]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[98]} | awk '{print $1}')" = ${OriginalFileHashes[98]} ]] || { cat "${FilesToCheck[98]}" > "${FilesToCheck[98]}.pacsave" ; echo "Backup saved: ${FilesToCheck[98]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[99]} | awk '{print $1}')" = ${OriginalFileHashes[99]} ]] || { cat "${FilesToCheck[99]}" > "${FilesToCheck[99]}.pacsave" ; echo "Backup saved: ${FilesToCheck[99]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[100]} | awk '{print $1}')" = ${OriginalFileHashes[100]} ]] || { cat "${FilesToCheck[100]}" > "${FilesToCheck[100]}.pacsave" ; echo "Backup saved: ${FilesToCheck[100]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[101]} | awk '{print $1}')" = ${OriginalFileHashes[101]} ]] || { cat "${FilesToCheck[101]}" > "${FilesToCheck[101]}.pacsave" ; echo "Backup saved: ${FilesToCheck[101]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[102]} | awk '{print $1}')" = ${OriginalFileHashes[102]} ]] || { cat "${FilesToCheck[102]}" > "${FilesToCheck[102]}.pacsave" ; echo "Backup saved: ${FilesToCheck[102]}.pacsave"; } [[ "$(openssl dgst -r -whirlpool ${FilesToCheck[103]} | awk '{print $1}')" = ${OriginalFileHashes[103]} ]] || { cat "${FilesToCheck[103]}" > "${FilesToCheck[103]}.pacsave" ; echo "Backup saved: ${FilesToCheck[103]}.pacsave"; } echo "Done!" }