This repository was archived by the owner on Aug 27, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +19
-15
lines changed
Expand file tree Collapse file tree 8 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 88[submodule "vendor/rpihotspot "]
99 path = vendor/rpihotspot
1010 url = https://github.com/andi34/rpihotspot
11+ [submodule "vendor/PhotoSwipe "]
12+ path = vendor/PhotoSwipe
13+ url = https://github.com/andi34/PhotoSwipe
Original file line number Diff line number Diff line change 3030
3131 <link rel="stylesheet" href="node_modules/normalize.css/normalize.css" />
3232 <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.css" />
33- <link rel="stylesheet" href="node_modules/photoswipe /dist/photoswipe.css" />
34- <link rel="stylesheet" href="node_modules/photoswipe /dist/default-skin/default-skin.css" />
33+ <link rel="stylesheet" href="vendor/PhotoSwipe /dist/photoswipe.css" />
34+ <link rel="stylesheet" href="vendor/PhotoSwipe /dist/default-skin/default-skin.css" />
3535 <link rel="stylesheet" href="resources/css/style.css" />
3636 <?php if ($ config ['gallery_bottom_bar ' ]): ?>
3737 <link rel="stylesheet" href="resources/css/photoswipe-bottom.css" />
8585 <script type="text/javascript" src="resources/js/vendor/EasePack.min.js"></script>
8686 <script type="text/javascript" src="resources/js/vendor/jquery.gsap.min.js"></script>
8787 <script type="text/javascript" src="resources/js/vendor/CSSPlugin.min.js"></script>
88- <script type="text/javascript" src="node_modules/photoswipe /dist/photoswipe.min.js"></script>
89- <script type="text/javascript" src="node_modules/photoswipe /dist/photoswipe-ui-default.min.js"></script>
88+ <script type="text/javascript" src="vendor/PhotoSwipe /dist/photoswipe.min.js"></script>
89+ <script type="text/javascript" src="vendor/PhotoSwipe /dist/photoswipe-ui-default.min.js"></script>
9090 <script type="text/javascript" src="resources/js/photoinit.js"></script>
9191 <script type="text/javascript" src="resources/js/theme.js"></script>
9292 <script type="text/javascript" src="resources/js/core.js"></script>
Original file line number Diff line number Diff line change 3232
3333 <link rel="stylesheet" href="node_modules/normalize.css/normalize.css" />
3434 <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.css" />
35- <link rel="stylesheet" href="node_modules/photoswipe /dist/photoswipe.css" />
36- <link rel="stylesheet" href="node_modules/photoswipe /dist/default-skin/default-skin.css" />
35+ <link rel="stylesheet" href="vendor/PhotoSwipe /dist/photoswipe.css" />
36+ <link rel="stylesheet" href="vendor/PhotoSwipe /dist/default-skin/default-skin.css" />
3737 <link rel="stylesheet" href="resources/css/style.css" />
3838 <?php if ($ config ['gallery_bottom_bar ' ]): ?>
3939 <link rel="stylesheet" href="resources/css/photoswipe-bottom.css" />
239239 <script type="text/javascript" src="resources/js/vendor/EasePack.min.js"></script>
240240 <script type="text/javascript" src="resources/js/vendor/jquery.gsap.min.js"></script>
241241 <script type="text/javascript" src="resources/js/vendor/CSSPlugin.min.js"></script>
242- <script type="text/javascript" src="node_modules/photoswipe /dist/photoswipe.min.js"></script>
243- <script type="text/javascript" src="node_modules/photoswipe /dist/photoswipe-ui-default.min.js"></script>
242+ <script type="text/javascript" src="vendor/PhotoSwipe /dist/photoswipe.min.js"></script>
243+ <script type="text/javascript" src="vendor/PhotoSwipe /dist/photoswipe-ui-default.min.js"></script>
244244 <script type="text/javascript" src="resources/js/photoinit.js"></script>
245245 <script type="text/javascript" src="resources/js/theme.js"></script>
246246 <script type="text/javascript" src="resources/js/core.js"></script>
Original file line number Diff line number Diff line change 4545
4646 <link rel="stylesheet" href="../node_modules/normalize.css/normalize.css" />
4747 <link rel="stylesheet" href="../node_modules/font-awesome/css/font-awesome.css" />
48- <link rel="stylesheet" href="../node_modules/photoswipe/dist/photoswipe.css" />
49- <link rel="stylesheet" href="../node_modules/photoswipe/dist/default-skin/default-skin.css" />
5048 <link rel="stylesheet" href="../resources/css/login.css" />
5149 <?php if ($ config ['rounded_corners ' ]): ?>
5250 <link rel="stylesheet" href="../resources/css/rounded.css" />
Original file line number Diff line number Diff line change 4747 "marvinj" : " ^1.0.0" ,
4848 "normalize.css" : " ^8.0.1" ,
4949 "npm-run-all" : " ^4.1.5" ,
50- "photoswipe" : " ^4.1.3" ,
5150 "whatwg-fetch" : " ^3.2.0"
5251 },
5352 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ function createArchive(fileName, archive) {
8080 archive . directory ( 'node_modules/marvinj/marvinj/release/' ) ;
8181 archive . file ( 'node_modules/normalize.css/LICENSE.md' ) ;
8282 archive . file ( 'node_modules/normalize.css/normalize.css' ) ;
83- archive . file ( 'node_modules/photoswipe/LICENSE' ) ;
84- archive . directory ( 'node_modules/photoswipe/dist/' ) ;
8583 archive . file ( 'node_modules/whatwg-fetch/LICENSE' ) ;
8684 archive . file ( 'node_modules/whatwg-fetch/dist/fetch.umd.js' ) ;
8785
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ apt dist-upgrade -y
8787info " [Info] Checking for webserver..."
8888for server in " ${WEBSERVER[@]} " ; do
8989 if [ $( dpkg-query -W -f=' ${Status}' ${server} 2> /dev/null | grep -c " ok installed" ) -eq 1 ]; then
90- info " [Webserver] ${server} installed "
90+ info " [Webserver] ${server} used. "
9191 if [[ ${server} == " nginx" || ${server} == " lighttpd" ]]; then
9292 info " [NOTE] You're using ${server} as your Webserver."
9393 info " [NOTE] For a no-hassle-setup Apache2 Webserver is recommend!"
@@ -121,9 +121,14 @@ chown -R www-data:www-data ${booth_source}
121121
122122for file in " ${OLDFILES[@]} " ; do
123123 if [ -f " ${booth_source} /${file} " ]; then
124- info " [Info] Deleting unused file: ${booth_source} /${file} "
124+ info " [Info] Deleting unused file: ${booth_source} /${file} "
125125 rm " ${booth_source} /${file} "
126126 fi
127127done
128128
129+ if [ -d " ${booth_source} /node_modules/photoswipe" ]; then
130+ info " [Info] Deleting unused module: ${booth_source} /node_modules/photoswipe"
131+ rm -rf ${booth_source} /node_modules/photoswipe
132+ fi
133+
129134info " [Info] Updated Photobooth"
You can’t perform that action at this time.
0 commit comments