Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/installer/linux/rpm/chrome.spec.template

Issue 674703002: Linux: Dynamically load libudev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoped_udev
Patch Set: rebase to head, which includes third_party/libudev already Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #------------------------------------------------------------------------------ 1 #------------------------------------------------------------------------------
2 # chrome.spec 2 # chrome.spec
3 #------------------------------------------------------------------------------ 3 #------------------------------------------------------------------------------
4 4
5 #------------------------------------------------------------------------------ 5 #------------------------------------------------------------------------------
6 # Prologue information 6 # Prologue information
7 #------------------------------------------------------------------------------ 7 #------------------------------------------------------------------------------
8 Summary : @@MENUNAME@@ 8 Summary : @@MENUNAME@@
9 License : Multiple, see @@PRODUCTURL@@ 9 License : Multiple, see @@PRODUCTURL@@
10 Name : @@PACKAGE@@-@@CHANNEL@@ 10 Name : @@PACKAGE@@-@@CHANNEL@@
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 @@include@@../common/postinst.include 112 @@include@@../common/postinst.include
113 113
114 @@include@@../common/rpm.include 114 @@include@@../common/rpm.include
115 115
116 @@include@@../common/symlinks.include 116 @@include@@../common/symlinks.include
117 117
118 remove_nss_symlinks 118 remove_nss_symlinks
119 add_nss_symlinks 119 add_nss_symlinks
120 120
121 remove_udev_symlinks 121 remove_udev_symlinks
122 add_udev_symlinks
123 122
124 DEFAULTS_FILE="/etc/default/@@PACKAGE@@" 123 DEFAULTS_FILE="/etc/default/@@PACKAGE@@"
125 if [ ! -e "$DEFAULTS_FILE" ]; then 124 if [ ! -e "$DEFAULTS_FILE" ]; then
126 echo 'repo_add_once="true"' > "$DEFAULTS_FILE" 125 echo 'repo_add_once="true"' > "$DEFAULTS_FILE"
127 fi 126 fi
128 127
129 . "$DEFAULTS_FILE" 128 . "$DEFAULTS_FILE"
130 129
131 if [ "$repo_add_once" = "true" ]; then 130 if [ "$repo_add_once" = "true" ]; then
132 determine_rpm_package_manager 131 determine_rpm_package_manager
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #esac 221 #esac
223 222
224 exit 0 223 exit 0
225 224
226 #------------------------------------------------------------------------------ 225 #------------------------------------------------------------------------------
227 # Post uninstallation script 226 # Post uninstallation script
228 #------------------------------------------------------------------------------ 227 #------------------------------------------------------------------------------
229 %postun 228 %postun
230 229
231 exit 0 230 exit 0
OLDNEW
« no previous file with comments | « chrome/installer/linux/rpm/build.sh ('k') | chrome/installer/linux/sysroot_scripts/packagelist.trusty.arm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698